/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 48 Constant *StrLen = M->getOrInsertFunction( in EmitStrLen() 74 M->getOrInsertFunction("strnlen", AttributeSet::get(M->getContext(), AS), in EmitStrNLen() 99 Constant *StrChr = M->getOrInsertFunction("strchr", in EmitStrChr() 124 Value *StrNCmp = M->getOrInsertFunction( in EmitStrNCmp() 149 Value *StrCpy = M->getOrInsertFunction(Name, in EmitStrCpy() 172 Value *StrNCpy = M->getOrInsertFunction(Name, in EmitStrNCpy() 198 Value *MemCpy = M->getOrInsertFunction( in EmitMemCpyChk() 222 Value *MemChr = M->getOrInsertFunction( in EmitMemChr() 247 Value *MemCmp = M->getOrInsertFunction( in EmitMemCmp() 284 Value *Callee = M->getOrInsertFunction(Name, Op->getType(), in EmitUnaryFloatFnCall() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 135 TsanFuncEntry = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 138 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); in initializeCallbacks() 144 TsanRead[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 148 TsanWrite[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 154 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 160 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 168 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); in initializeCallbacks() 172 TsanAtomicStore[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 197 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks() 202 TsanAtomicCAS[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() [all …]
|
D | SanitizerCoverage.cpp | 161 M.getOrInsertFunction(kSanCovName, VoidTy, Int32PtrTy, nullptr)); in runOnModule() 163 M.getOrInsertFunction(kSanCovWithCheckName, VoidTy, Int32PtrTy, nullptr)); in runOnModule() 165 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in runOnModule() 168 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in runOnModule() 171 SanCovModuleInit = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in runOnModule() 182 M.getOrInsertFunction(kSanCovTraceEnter, VoidTy, Int32PtrTy, nullptr)); in runOnModule() 184 M.getOrInsertFunction(kSanCovTraceBB, VoidTy, Int32PtrTy, nullptr)); in runOnModule()
|
D | AddressSanitizer.cpp | 1219 AsanPoisonGlobals = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1222 AsanUnpoisonGlobals = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1226 AsanRegisterGlobals = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1230 M.getOrInsertFunction(kAsanUnregisterGlobalsName, IRB.getVoidTy(), in initializeCallbacks() 1399 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1403 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1410 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1414 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1421 AsanMemmove = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() 1424 AsanMemcpy = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks() [all …]
|
D | GCOVProfiling.cpp | 689 Constant *GCOVInit = M->getOrInsertFunction("llvm_gcov_init", FTy); in emitProfileArcs() 757 return M->getOrInsertFunction("llvm_gcda_start_file", FTy); in getStartFileFunc() 768 return M->getOrInsertFunction("__llvm_gcov_indirect_counter_increment", FTy); in getIncrementIndirectCounterFunc() 780 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); in getEmitFunctionFunc() 789 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy); in getEmitArcsFunc() 794 return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); in getSummaryInfoFunc() 799 return M->getOrInsertFunction("llvm_delete_writeout_function_list", FTy); in getDeleteWriteoutFunctionListFunc() 804 return M->getOrInsertFunction("llvm_delete_flush_function_list", FTy); in getDeleteFlushFunctionListFunc() 809 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); in getEndFileFunc()
|
D | DataFlowSanitizer.cpp | 561 Constant *C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction() 609 DFSanUnionFn = Mod->getOrInsertFunction("__dfsan_union", DFSanUnionFnTy); in runOnModule() 617 DFSanCheckedUnionFn = Mod->getOrInsertFunction("dfsan_union", DFSanUnionFnTy); in runOnModule() 626 Mod->getOrInsertFunction("__dfsan_union_load", DFSanUnionLoadFnTy); in runOnModule() 633 Mod->getOrInsertFunction("__dfsan_unimplemented", DFSanUnimplementedFnTy); in runOnModule() 635 Mod->getOrInsertFunction("__dfsan_set_label", DFSanSetLabelFnTy); in runOnModule() 640 Mod->getOrInsertFunction("__dfsan_nonzero_label", DFSanNonzeroLabelFnTy); in runOnModule() 641 DFSanVarargWrapperFn = Mod->getOrInsertFunction("__dfsan_vararg_wrapper", in runOnModule() 1437 DFSF.DFS.Mod->getOrInsertFunction(CustomFName, CustomFT); in visitCallSite()
|
/external/llvm/lib/Target/R600/ |
D | SIAnnotateControlFlow.cpp | 131 If = M.getOrInsertFunction( in doInitialization() 134 Else = M.getOrInsertFunction( in doInitialization() 137 Break = M.getOrInsertFunction( in doInitialization() 140 IfBreak = M.getOrInsertFunction( in doInitialization() 143 ElseBreak = M.getOrInsertFunction( in doInitialization() 146 Loop = M.getOrInsertFunction( in doInitialization() 149 EndCf = M.getOrInsertFunction( in doInitialization()
|
D | AMDGPUPromoteAlloca.cpp | 308 Value *ReadLocalSizeY = Mod->getOrInsertFunction( in visitAlloca() 310 Value *ReadLocalSizeZ = Mod->getOrInsertFunction( in visitAlloca() 312 Value *ReadTIDIGX = Mod->getOrInsertFunction( in visitAlloca() 314 Value *ReadTIDIGY = Mod->getOrInsertFunction( in visitAlloca() 316 Value *ReadTIDIGZ = Mod->getOrInsertFunction( in visitAlloca() 369 Constant *C = Mod->getOrInsertFunction((F->getName() + ".local").str(), in visitAlloca()
|
/external/llvm/lib/IR/ |
D | Module.cpp | 115 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 138 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 140 return getOrInsertFunction(Name, Ty, AttributeSet()); in getOrInsertFunction() 148 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 162 return getOrInsertFunction(Name, in getOrInsertFunction() 167 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() function in Module 180 return getOrInsertFunction(Name, in getOrInsertFunction()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCRuntimeEntryPoints.h | 136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getVoidRetI8XEntryPoint() 155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 176 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getI8XRetI8XXI8XEntryPoint()
|
/external/llvm/lib/Analysis/IPA/ |
D | CallGraph.cpp | 24 : M(M), Root(nullptr), ExternalCallingNode(getOrInsertFunction(nullptr)), in CallGraph() 53 CallGraphNode *Node = getOrInsertFunction(F); in addToCallGraph() 88 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); in addToCallGraph() 144 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { in getOrInsertFunction() function in CallGraph
|
D | CallGraphSCCPass.cpp | 299 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph() 323 CalleeNode = CG.getOrInsertFunction(Callee); in RefreshCallGraph()
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 28 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); in TEST() 51 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); in TEST()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 66 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), in main() 98 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context), in main()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 76 getOrInsertFunction("brainf", Type::getVoidTy(C), NULL)); in header() 150 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header()
|
D | BrainFDriver.cpp | 61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
|
/external/llvm/include/llvm/IR/ |
D | Module.h | 350 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 353 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 361 Constant *getOrInsertFunction(StringRef Name, 366 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 158 CallGraphNode *getOrInsertFunction(const Function *F); 374 CallGraphNode *getOrInsertFunction(const Function *F) { in getOrInsertFunction() function 375 return G->getOrInsertFunction(F); in getOrInsertFunction()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); in EnsureFunctionExists() 75 Constant* FCache = M->getOrInsertFunction(NewFn, in ReplaceCallWith() 114 M.getOrInsertFunction("memcpy", in AddPrototypes() 121 M.getOrInsertFunction("memmove", in AddPrototypes() 128 M.getOrInsertFunction("memset", in AddPrototypes()
|
D | StackProtector.cpp | 482 M->getOrInsertFunction("__stack_smash_handler", in CreateFailBB() 489 M->getOrInsertFunction("__stack_chk_fail", Type::getVoidTy(Context), in CreateFailBB()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 38 cast<Function>(M->getOrInsertFunction("add1", in createAdd1() 69 cast<Function>(M->getOrInsertFunction("fib", in CreateFibFunction()
|
/external/llvm/unittests/Analysis/ |
D | MixedTBAATest.cpp | 37 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy)); in TEST_F()
|
D | AliasAnalysisTest.cpp | 74 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy)); in TEST_F()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 42 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), in CreateFibFunction()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILPeepholeOptimizer.cpp | 371 F->getParent()->getOrInsertFunction(buffer, F->getFunctionType())); in optimizeCallInst() 662 getOrInsertFunction(llvm::StringRef(name), funcType)); in optimizeBitInsert() 827 getOrInsertFunction(llvm::StringRef(name), funcType)); in optimizeBitExtract() 1023 getOrInsertFunction(llvm::StringRef(name), funcType)); in expandSigned24BitOps() 1055 getOrInsertFunction(llvm::StringRef(name), funcType)); in expandSigned24BitOps()
|