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 | b71fd7897f6b4500cdbe602c5a9907316750cf5a (patch) | |
tree | bfde4bc0d508d66aa539e308ff37ea881c711a67 /lib/CodeGen/IntrinsicLowering.cpp | |
parent | d6842e4e1805feaaf865a7b6bf59b35e4c5e0759 (diff) |
Simplify IntrinsicLowering and clarify that it is only for use by the
CBE and interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r-- | lib/CodeGen/IntrinsicLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp index 982a261fc1..ece3072d00 100644 --- a/lib/CodeGen/IntrinsicLowering.cpp +++ b/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!"); |