Searched defs:NewFn (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, argument
75 Constant* FCache = M->getOrInsertFunction(NewFn,
/external/llvm/lib/IR/
H A DAutoUpgrade.cpp37 Function *&NewFn) {
46 NewFn = Intrinsic::getDeclaration(F->getParent(), IID);
53 Function *&NewFn) {
62 NewFn = Intrinsic::getDeclaration(F->getParent(), IID);
66 static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { argument
87 NewFn = Function::Create(fType, F->getLinkage(),
92 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctpop,
103 NewFn = Function::Create(fType, F->getLinkage(),
122 NewFn = Intrinsic::getDeclaration(F->getParent(),
125 NewFn
36 UpgradeSSE41Function(Function* F, Intrinsic::ID IID, Function *&NewFn) argument
52 UpgradeX86IntrinsicsWith8BitMask(Function *F, Intrinsic::ID IID, Function *&NewFn) argument
268 UpgradeIntrinsicFunction(Function *F, Function *&NewFn) argument
363 UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) argument
803 Function *NewFn; local
[all...]
/external/clang/lib/CodeGen/
H A DCGVTables.cpp159 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap, local
161 CGM.getModule().getFunctionList().push_back(NewFn);
162 Fn->replaceAllUsesWith(NewFn);
163 NewFn->takeName(Fn);
165 Fn = NewFn;
H A DCodeGenModule.cpp1716 llvm::Function *NewFn);
2666 llvm::Function *NewFn) {
2670 replaceUsesOfNonProtoConstant(Old, NewFn);
2665 ReplaceUsesOfNonProtoTypeWithRealFunction(llvm::GlobalValue *Old, llvm::Function *NewFn) argument
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3117 Function *NewFn; local
3118 if (UpgradeIntrinsicFunction(&F, NewFn))
3119 UpgradedIntrinsics[&F] = NewFn;

Completed in 119 milliseconds