/external/llvm/examples/HowToUseJIT/ |
H A D | HowToUseJIT.cpp | 65 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), 97 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 128 Value *TsanInit = M.getOrInsertFunction("__tsan_init", 133 TsanFuncEntry = checkInterfaceFunction(M.getOrInsertFunction( 135 TsanFuncExit = checkInterfaceFunction(M.getOrInsertFunction( 142 TsanRead[i] = checkInterfaceFunction(M.getOrInsertFunction( 146 TsanWrite[i] = checkInterfaceFunction(M.getOrInsertFunction( 153 TsanAtomicLoad[i] = checkInterfaceFunction(M.getOrInsertFunction( 158 TsanAtomicStore[i] = checkInterfaceFunction(M.getOrInsertFunction( 162 TsanVptrUpdate = checkInterfaceFunction(M.getOrInsertFunction(
|
H A D | AddressSanitizer.cpp | 430 // Validate the result of Module::getOrInsertFunction called for an interface 433 // getOrInsertFunction returns a bitcast. 524 Function *AsanPoisonGlobals = checkInterfaceFunction(M.getOrInsertFunction( 527 Function *AsanUnpoisonGlobals = checkInterfaceFunction(M.getOrInsertFunction( 705 Function *AsanRegisterGlobals = checkInterfaceFunction(M.getOrInsertFunction( 722 checkInterfaceFunction(M.getOrInsertFunction( 758 M.getOrInsertFunction(kAsanInitName, IRB.getVoidTy(), NULL)); 771 M.getOrInsertFunction(FunctionName, IRB.getVoidTy(), IntptrTy, NULL)); 925 IRB.CreateCall(M.getOrInsertFunction(kAsanHandleNoReturnName, 1090 Value *AsanStackMallocFunc = M.getOrInsertFunction( [all...] |
H A D | GCOVProfiling.cpp | 580 return M->getOrInsertFunction("llvm_gcda_start_file", FTy); 591 return M->getOrInsertFunction("__llvm_gcov_indirect_counter_increment", FTy); 600 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy); 610 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy); 615 return M->getOrInsertFunction("llvm_gcda_end_file", FTy); 689 Constant *AtExitFn = M->getOrInsertFunction("atexit", FTy);
|
H A D | ProfilingUtils.cpp | 33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context),
|
H A D | PathProfiling.cpp | 1354 llvmIncrementHashFunction = M.getOrInsertFunction( 1361 llvmDecrementHashFunction = M.getOrInsertFunction(
|
/external/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 49 Constant *StrLen = M->getOrInsertFunction("strlen", AttrListPtr::get(AWI), 75 Constant *StrNLen = M->getOrInsertFunction("strnlen", AttrListPtr::get(AWI), 101 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(AWI), 125 Value *StrNCmp = M->getOrInsertFunction("strncmp", AttrListPtr::get(AWI), 152 Value *StrCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI), 174 Value *StrNCpy = M->getOrInsertFunction(Name, AttrListPtr::get(AWI), 197 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk", 224 Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(AWI), 253 Value *MemCmp = M->getOrInsertFunction("memcmp", AttrListPtr::get(AWI), 285 Value *Callee = M->getOrInsertFunction(Nam [all...] |
/external/llvm/lib/VMCore/ |
H A D | Module.cpp | 134 // getOrInsertFunction - Look up the specified function in the module symbol 139 Constant *Module::getOrInsertFunction(StringRef Name, function in class:Module 158 Constant *NewF = getOrInsertFunction(Name, Ty); 189 Constant *Module::getOrInsertFunction(StringRef Name, function in class:Module 191 return getOrInsertFunction(Name, Ty, AttrListPtr()); 194 // getOrInsertFunction - Look up the specified function in the module symbol 199 Constant *Module::getOrInsertFunction(StringRef Name, function in class:Module 212 // Build the function type and chain to the other getOrInsertFunction... 213 return getOrInsertFunction(Name, 218 Constant *Module::getOrInsertFunction(StringRe function in class:Module [all...] |
/external/llvm/lib/Analysis/IPA/ |
H A D | CallGraph.cpp | 54 ExternalCallingNode = getOrInsertFunction(0); 115 CallGraphNode *Node = getOrInsertFunction(F); 147 Node->addCalledFunction(CS, getOrInsertFunction(Callee)); 243 // getOrInsertFunction - This method is identical to calling operator[], but 246 CallGraphNode *CallGraph::getOrInsertFunction(const Function *F) { function in class:CallGraph
|
H A D | CallGraphSCCPass.cpp | 283 CalleeNode = CG.getOrInsertFunction(Callee); 307 CalleeNode = CG.getOrInsertFunction(Callee);
|
/external/llvm/lib/Target/MBlaze/ |
H A D | MBlazeIntrinsicInfo.cpp | 108 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
|
/external/llvm/examples/BrainF/ |
H A D | BrainF.cpp | 64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); 68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), 76 getOrInsertFunction("brainf", Type::getVoidTy(C), NULL)); 150 getOrInsertFunction("puts", IntegerType::getInt32Ty(C),
|
H A D | BrainFDriver.cpp | 60 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
|
/external/llvm/include/llvm/ |
H A D | Module.h | 312 /// getOrInsertFunction - Look up the specified function in the module symbol 321 Constant *getOrInsertFunction(StringRef Name, FunctionType *T, 324 Constant *getOrInsertFunction(StringRef Name, FunctionType *T); 326 /// getOrInsertFunction - Look up the specified function in the module symbol 333 Constant *getOrInsertFunction(StringRef Name, 337 /// getOrInsertFunction - Same as above, but without the attributes. 338 Constant *getOrInsertFunction(StringRef Name, Type *RetTy, ...)
|
/external/llvm/examples/Fibonacci/ |
H A D | fibonacci.cpp | 43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
|
/external/llvm/examples/ParallelJIT/ |
H A D | ParallelJIT.cpp | 38 cast<Function>(M->getOrInsertFunction("add1", 69 cast<Function>(M->getOrInsertFunction("fib",
|
/external/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); 75 Constant* FCache = M->getOrInsertFunction(NewFn, 114 M.getOrInsertFunction("memcpy", 121 M.getOrInsertFunction("memmove", 128 M.getOrInsertFunction("memset",
|
H A D | DwarfEHPrepare.cpp | 130 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
|
H A D | StackProtector.cpp | 278 M->getOrInsertFunction("__stack_chk_fail",
|
H A D | SjLjEHPrepare.cpp | 103 RegisterFn = M.getOrInsertFunction("_Unwind_SjLj_Register", 108 M.getOrInsertFunction("_Unwind_SjLj_Unregister",
|
H A D | ShadowStackGC.cpp | 149 getOrInsertFunction("__gcc_personality_v0",
|
/external/llvm/include/llvm/Analysis/ |
H A D | CallGraph.h | 136 /// getOrInsertFunction - This method is identical to calling operator[], but 139 CallGraphNode *getOrInsertFunction(const Function *F);
|
/external/llvm/unittests/Analysis/ |
H A D | ScalarEvolutionTest.cpp | 42 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy)); 95 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ObjCARC.cpp | 1781 M->getOrInsertFunction("objc_retainAutoreleasedReturnValue", FTy, 1795 M->getOrInsertFunction("objc_autoreleaseReturnValue", FTy, 1807 M->getOrInsertFunction( 1821 M->getOrInsertFunction( 1836 M->getOrInsertFunction( 1850 M->getOrInsertFunction( 3826 M->getOrInsertFunction( 3842 M->getOrInsertFunction("objc_retainAutorelease", FTy, Attributes); 3855 M->getOrInsertFunction("objc_retainAutoreleaseReturnValue", FTy,
|
H A D | LoopIdiomRecognize.cpp | 520 Value *MSP = M->getOrInsertFunction("memset_pattern16",
|