Searched refs:NewFn (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 37 Function *&NewFn) { in UpgradeSSE41Function() argument 46 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradeSSE41Function() 53 Function *&NewFn) { in UpgradeX86IntrinsicsWith8BitMask() argument 62 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradeX86IntrinsicsWith8BitMask() 66 static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { in UpgradeIntrinsicFunction1() argument 87 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1() 92 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctpop, in UpgradeIntrinsicFunction1() 103 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1() 122 NewFn = Intrinsic::getDeclaration(F->getParent(), in UpgradeIntrinsicFunction1() 125 NewFn = Intrinsic::getDeclaration(F->getParent(), in UpgradeIntrinsicFunction1() [all …]
|
/external/llvm/include/llvm/IR/ |
D | AutoUpgrade.h | 33 bool UpgradeIntrinsicFunction(Function *F, Function *&NewFn); 37 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 159 llvm::Function *NewFn = llvm::CloneFunction(BaseFn, VMap, in GenerateVarArgsThunk() local 161 CGM.getModule().getFunctionList().push_back(NewFn); in GenerateVarArgsThunk() 162 Fn->replaceAllUsesWith(NewFn); in GenerateVarArgsThunk() 163 NewFn->takeName(Fn); in GenerateVarArgsThunk() 165 Fn = NewFn; in GenerateVarArgsThunk()
|
D | CodeGenModule.cpp | 1716 llvm::Function *NewFn); 2666 llvm::Function *NewFn) { in ReplaceUsesOfNonProtoTypeWithRealFunction() argument 2670 replaceUsesOfNonProtoConstant(Old, NewFn); in ReplaceUsesOfNonProtoTypeWithRealFunction()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() argument 75 Constant* FCache = M->getOrInsertFunction(NewFn, in ReplaceCallWith()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 11026 ExprResult NewFn = ExprError(); in BuildRecoveryCallExpr() local 11028 NewFn = SemaRef.BuildPossibleImplicitMemberExpr(SS, TemplateKWLoc, R, in BuildRecoveryCallExpr() 11031 NewFn = SemaRef.BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, in BuildRecoveryCallExpr() 11034 NewFn = SemaRef.BuildDeclarationNameExpr(SS, R, false); in BuildRecoveryCallExpr() 11036 if (NewFn.isInvalid()) in BuildRecoveryCallExpr() 11042 return SemaRef.ActOnCallExpr(/*Scope*/ nullptr, NewFn.get(), LParenLoc, in BuildRecoveryCallExpr() 12352 ExprResult NewFn = CreateFunctionRefExpr(*this, Method, Best->FoundDecl, in BuildCallToObjectOfClassType() local 12356 if (NewFn.isInvalid()) in BuildCallToObjectOfClassType() 12372 CXXOperatorCallExpr(Context, OO_Call, NewFn.get(), in BuildCallToObjectOfClassType()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3117 Function *NewFn; in globalCleanup() local 3118 if (UpgradeIntrinsicFunction(&F, NewFn)) in globalCleanup() 3119 UpgradedIntrinsics[&F] = NewFn; in globalCleanup()
|