diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-15 18:00:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-15 18:00:10 +0000 |
commit | 2775aba51d689e56446720959e86a30e91d69973 (patch) | |
tree | 93a726728dbad6be0ba90de1787bbadaa5b08d9f /llvm/lib/CodeGen/IntrinsicLowering.cpp | |
parent | 60c2a0154a963ca0c9a3a2310866025918ecf1f5 (diff) | |
download | bcm5719-llvm-2775aba51d689e56446720959e86a30e91d69973.tar.gz bcm5719-llvm-2775aba51d689e56446720959e86a30e91d69973.zip |
Simplify IntrinsicLowering and clarify that it is only for use by the
CBE and interpreter.
llvm-svn: 31755
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IntrinsicLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp index 982a261fc10..ece3072d00e 100644 --- a/llvm/lib/CodeGen/IntrinsicLowering.cpp +++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the default intrinsic lowering implementation. +// This file implements the IntrinsicLowering class. // //===----------------------------------------------------------------------===// @@ -82,7 +82,7 @@ static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, return NewCI; } -void DefaultIntrinsicLowering::AddPrototypes(Module &M) { +void IntrinsicLowering::AddPrototypes(Module &M) { for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) if (I->isExternal() && !I->use_empty()) switch (I->getIntrinsicID()) { @@ -263,7 +263,7 @@ static Value *LowerCTLZ(Value *V, Instruction *IP) { -void DefaultIntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { +void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { Function *Callee = CI->getCalledFunction(); assert(Callee && "Cannot lower an indirect call!"); |