Searched defs:NewFn (Results 1 - 8 of 8) 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/swiftshader/third_party/LLVM/lib/CodeGen/
H A DIntrinsicLowering.cpp65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, argument
75 Constant* FCache = M->getOrInsertFunction(NewFn,
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DAutoUpgrade.cpp32 static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { argument
73 NewFn = cast<Function>(M->getOrInsertFunction(
99 NewFn = cast<Function>(M->getOrInsertFunction(NameTmp,
126 NewFn = F;
151 bool llvm::UpgradeIntrinsicFunction(Function *F, Function *&NewFn) { argument
152 NewFn = 0;
153 bool Upgraded = UpgradeIntrinsicFunction1(F, NewFn);
156 if (NewFn)
157 F = NewFn;
171 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) { argument
366 Function *NewFn; local
[all...]
/external/clang/lib/CodeGen/
H A DCGVTables.cpp159 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap); local
160 Fn->replaceAllUsesWith(NewFn);
161 NewFn->takeName(Fn);
163 Fn = NewFn;
H A DCodeGenModule.cpp1811 llvm::Function *NewFn);
2846 llvm::Function *NewFn) {
2850 replaceUsesOfNonProtoConstant(Old, NewFn);
2845 ReplaceUsesOfNonProtoTypeWithRealFunction(llvm::GlobalValue *Old, llvm::Function *NewFn) argument
/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
405 UpgradeIntrinsicFunction(Function *F, Function *&NewFn) argument
636 UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) argument
1359 Function *NewFn; local
[all...]
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1566 Function* NewFn; local
1567 if (UpgradeIntrinsicFunction(FI, NewFn))
1568 UpgradedIntrinsics.push_back(std::make_pair(FI, NewFn));
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3450 Function *NewFn; local
3451 if (UpgradeIntrinsicFunction(&F, NewFn))
3452 UpgradedIntrinsics[&F] = NewFn;

Completed in 433 milliseconds