/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 255 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 257 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize() 259 IRB.getVoidTy()); in initialize() 261 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize() 269 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize() 273 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize() 278 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 282 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 286 VolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 290 VolatileWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() [all …]
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | SparsePropagation.cpp | 255 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 257 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 291 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 293 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 332 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 334 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 457 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 460 FunctionType::get(Builder.getVoidTy(), in TEST_F() 510 Function *P = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() 512 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F() [all …]
|
D | MemorySSATest.cpp | 78 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 116 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 206 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 250 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 300 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 336 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 382 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 426 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 481 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 526 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() [all …]
|
D | BasicAliasAnalysisTest.cpp | 74 FunctionType::get(B.getVoidTy(), {B.getInt32Ty()->getPointerTo()}, false), in TEST_F() 108 FunctionType::get(B.getVoidTy(), {B.getInt64Ty()}, false), in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() 110 FunctionType::get(Type::getVoidTy(M.getContext()), false), in createSanitizerCtorAndInitFunctions() 116 InitName, FunctionType::get(IRB.getVoidTy(), InitArgTypes, false), in createSanitizerCtorAndInitFunctions() 123 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions()
|
D | SanitizerStats.cpp | 59 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create() 80 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish()
|
/external/llvm-project/polly/lib/CodeGen/ |
D | LoopGeneratorsGOMP.cpp | 33 Builder.getVoidTy(), Builder.getInt8PtrTy(), false)), in createCallSpawnThreads() 40 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallSpawnThreads() 62 FunctionType::get(Builder.getVoidTy(), {Builder.getInt8PtrTy()}, false); in prepareSubFnDefinition() 202 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); in createCallJoinThreads() 218 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); in createCallCleanupThread()
|
D | LoopGeneratorsKMP.cpp | 33 KMPCMicroTy = FunctionType::get(Builder.getVoidTy(), MicroParams, true); in createCallSpawnThreads() 45 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, true); in createCallSpawnThreads() 85 FunctionType *FT = FunctionType::get(Builder.getVoidTy(), Arguments, false); in prepareSubFnDefinition() 345 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallPushNumThreads() 379 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallStaticInit() 409 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallStaticFini() 440 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallDispatchInit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() 116 FunctionType::get(Type::getVoidTy(M.getContext()), InitArgTypes, false), in declareSanitizerInitFunction() 130 FunctionType::get(Type::getVoidTy(M.getContext()), false), in createSanitizerCtorAndInitFunctions() 137 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions() 156 Ctor->getReturnType() == Type::getVoidTy(M.getContext())) in getOrCreateSanitizerCtorAndInitFunctions() 171 F->getReturnType() != Type::getVoidTy(M.getContext())) { in getOrCreateInitFunction() 181 Type::getVoidTy(M.getContext())) in getOrCreateInitFunction()
|
D | SanitizerStats.cpp | 58 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create() 79 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 28 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() 118 FunctionType::get(Type::getVoidTy(M.getContext()), InitArgTypes, false), in declareSanitizerInitFunction() 124 FunctionType::get(Type::getVoidTy(M.getContext()), false), in createSanitizerCtor() 145 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions() 164 Ctor->getReturnType() == Type::getVoidTy(M.getContext())) in getOrCreateSanitizerCtorAndInitFunctions() 179 F->getReturnType() != Type::getVoidTy(M.getContext())) { in getOrCreateInitFunction() 189 Type::getVoidTy(M.getContext())) in getOrCreateInitFunction()
|
D | SanitizerStats.cpp | 58 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create() 79 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 210 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 212 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize() 214 IRB.getVoidTy()); in initialize() 216 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize() 224 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize() 228 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize() 233 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 237 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize() 247 AtomicStoreName, Attr, IRB.getVoidTy(), PtrTy, Ty, OrdTy); in initialize() 280 M.getOrInsertFunction("__tsan_vptr_update", Attr, IRB.getVoidTy(), in initialize() [all …]
|
D | GCOVProfiling.cpp | 658 FunctionType *FTy = FunctionType::get(Builder.getVoidTy(), {}, false); in AddFlushBeforeForkAndExec() 858 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs() 870 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs() 875 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs() 895 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc() 911 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc() 927 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc() 935 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc() 940 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc() 946 FunctionType *WriteoutFTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout() [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | FunctionTest.cpp | 20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST() 50 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST() 126 Function::Create(llvm::FunctionType::get(llvm::Type::getVoidTy(C), false), in TEST() 142 Type *VoidType(Type::getVoidTy(Context)); in TEST()
|
D | VerifierTest.cpp | 28 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST() 51 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST() 188 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST() 224 auto *F = Function::Create(FunctionType::get(Type::getVoidTy(C), false), in TEST()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 154 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 156 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); in initializeCallbacks() 165 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 169 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 174 UnalignedReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 179 UnalignedWriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 189 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks() 222 M.getOrInsertFunction("__tsan_vptr_update", IRB.getVoidTy(), in initializeCallbacks() 225 "__tsan_vptr_read", IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 227 "__tsan_atomic_thread_fence", IRB.getVoidTy(), OrdTy, nullptr)); in initializeCallbacks() [all …]
|
D | GCOVProfiling.cpp | 683 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs() 695 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs() 700 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs() 771 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc() 782 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getIncrementIndirectCounterFunc() 794 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc() 803 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc() 808 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc() 813 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc() 832 FunctionType *WriteoutFTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout() [all …]
|
D | EfficiencySanitizer.cpp | 258 AlignedLoadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 262 AlignedStoreName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 266 UnalignedLoadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 270 UnalignedStoreName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks() 273 M.getOrInsertFunction("__esan_unaligned_loadN", IRB.getVoidTy(), in initializeCallbacks() 276 M.getOrInsertFunction("__esan_unaligned_storeN", IRB.getVoidTy(), in initializeCallbacks() 516 EsanDtorFunction = Function::Create(FunctionType::get(Type::getVoidTy(*Ctx), in createDestructor() 523 M.getOrInsertFunction(EsanExitName, IRB_Dtor.getVoidTy(), in createDestructor()
|
/external/llvm/unittests/Transforms/Utils/ |
D | MemorySSA.cpp | 73 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 114 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 157 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F() 223 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false), in TEST_F() 255 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false), in TEST_F() 285 F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false), in TEST_F()
|
D | ValueMapperTest.cpp | 176 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 235 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 270 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 289 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 331 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), Int8, false); in TEST()
|
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | RTDyldObjectLinkingLayerTest.cpp | 136 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST() 144 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST() 195 FunctionType::get(Type::getVoidTy(M.getContext()), {}, false), in TEST() 214 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
|
/external/llvm-project/clang/tools/clang-offload-wrapper/ |
D | ClangOffloadWrapper.cpp | 248 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createRegisterFunction() 254 auto *RegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(), in createRegisterFunction() 274 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createUnregisterFunction() 280 auto *UnRegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(), in createUnregisterFunction()
|
/external/llvm/unittests/IR/ |
D | FunctionTest.cpp | 20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST() 42 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | ValueMapperTest.cpp | 175 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 234 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 269 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 288 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST() 330 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), Int8, false); in TEST()
|