diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/IntrinsicLowering.cpp | 6 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.cpp | 2 | ||||
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 | ||||
-rw-r--r-- | lib/Target/CBackend/Writer.cpp | 2 |
4 files changed, 6 insertions, 6 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!"); diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 78e7a3c892..4728c95b74 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -67,7 +67,7 @@ Interpreter::Interpreter(Module *M) : ExecutionEngine(M), TD(M) { initializeExternalFunctions(); emitGlobals(); - IL = new DefaultIntrinsicLowering(); + IL = new IntrinsicLowering(); } Interpreter::~Interpreter() { diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 4b6ee91b5f..ba3b7ca8b0 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -69,7 +69,7 @@ namespace { /// module to a C translation unit. class CWriter : public FunctionPass, public InstVisitor<CWriter> { std::ostream &Out; - DefaultIntrinsicLowering IL; + IntrinsicLowering IL; Mangler *Mang; LoopInfo *LI; const Module *TheModule; diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 4b6ee91b5f..ba3b7ca8b0 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -69,7 +69,7 @@ namespace { /// module to a C translation unit. class CWriter : public FunctionPass, public InstVisitor<CWriter> { std::ostream &Out; - DefaultIntrinsicLowering IL; + IntrinsicLowering IL; Mangler *Mang; LoopInfo *LI; const Module *TheModule; |