Home
last modified time | relevance | path

Searched refs:getOrInsertGlobal (Results 1 – 25 of 60) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/
Dcpu_noalias_test.cc92 ir_module.getOrInsertGlobal("param_x", array2d_type); in TEST_F()
102 ir_module.getOrInsertGlobal("concat1", array2d_type); in TEST_F()
113 ir_module.getOrInsertGlobal("concat2", array2d_type); in TEST_F()
123 llvm::Value* concat2_val = ir_module.getOrInsertGlobal("add", array2d_type); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp240 M.getOrInsertGlobal("__guard_check_icall_fptr", GuardFnPtrType); in doInitialization()
244 M.getOrInsertGlobal("__guard_dispatch_icall_fptr", GuardFnPtrType); in doInitialization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowerEmuTLS.cpp122 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar()
142 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
DWasmEHPrepare.cpp225 M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy)); in prepareEHPads()
/external/llvm-project/llvm/lib/CodeGen/
DLowerEmuTLS.cpp123 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar()
138 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
DWasmEHPrepare.cpp312 M.getOrInsertGlobal("__wasm_lpad_context", LPadContextTy)); in setupEHPadFunctions()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp120 M.getOrInsertGlobal(EmuTlsVarName, EmuTlsVarType)); in addEmuTlsVar()
140 M.getOrInsertGlobal(EmuTlsTmplName, GVType)); in addEmuTlsVar()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp245 M.getOrInsertGlobal("__guard_check_icall_fptr", GuardFnPtrType); in doInitialization()
249 M.getOrInsertGlobal("__guard_dispatch_icall_fptr", GuardFnPtrType); in doInitialization()
/external/llvm/unittests/IR/
DValueTest.cpp69 Constant *Dummy1 = M->getOrInsertGlobal("dummy", Int32Ty); in TEST()
87 Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty); in TEST()
DConstantsTest.cpp202 Constant *Global = M->getOrInsertGlobal("dummy", in TEST()
204 Constant *Global2 = M->getOrInsertGlobal("dummy2", in TEST()
312 M->getOrInsertGlobal("dummy", PointerType::getUnqual(Int32Ty)); in TEST()
/external/llvm-project/llvm/unittests/IR/
DValueTest.cpp68 Constant *Dummy1 = M->getOrInsertGlobal("dummy", Int32Ty); in TEST()
86 Constant *DummyCast1 = M->getOrInsertGlobal("dummy_cast", Int8Ty); in TEST()
DConstantsTest.cpp202 Constant *Global = M->getOrInsertGlobal("dummy", in TEST()
204 Constant *Global2 = M->getOrInsertGlobal("dummy2", in TEST()
312 M->getOrInsertGlobal("dummy", PointerType::getUnqual(Int32Ty)); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp204 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module
225 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
226 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
/external/llvm-project/llvm/lib/IR/
DModule.cpp204 Constant *Module::getOrInsertGlobal( in getOrInsertGlobal() function in Module
225 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
226 return getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
/external/llvm-project/llvm/unittests/Analysis/
DBasicAliasAnalysisTest.cpp83 cast<GlobalVariable>(M.getOrInsertGlobal("some_global", B.getInt8Ty())); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h419 getOrInsertGlobal(StringRef Name, Type *Ty,
424 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
/external/llvm-project/llvm/include/llvm/IR/
DModule.h423 getOrInsertGlobal(StringRef Name, Type *Ty,
428 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp750 static Constant *getOrInsertGlobal(Module &M, StringRef Name, Type *Ty) { in getOrInsertGlobal() function
751 return M.getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
770 getOrInsertGlobal(M, "__msan_retval_tls", in createUserspaceApi()
773 RetvalOriginTLS = getOrInsertGlobal(M, "__msan_retval_origin_tls", OriginTy); in createUserspaceApi()
776 getOrInsertGlobal(M, "__msan_param_tls", in createUserspaceApi()
780 getOrInsertGlobal(M, "__msan_param_origin_tls", in createUserspaceApi()
784 getOrInsertGlobal(M, "__msan_va_arg_tls", in createUserspaceApi()
788 getOrInsertGlobal(M, "__msan_va_arg_origin_tls", in createUserspaceApi()
792 getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getInt64Ty()); in createUserspaceApi()
793 OriginTLS = getOrInsertGlobal(M, "__msan_origin_tls", IRB.getInt32Ty()); in createUserspaceApi()
[all …]
DHWAddressSanitizer.cpp422 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
459 ShadowGlobal = M.getOrInsertGlobal("__hwasan_shadow", in initializeCallbacks()
497 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getDynamicShadowNonTls()
/external/llvm-project/llvm/unittests/CodeGen/
DMachineOperandTest.cpp243 M.getOrInsertGlobal("foo", Type::getInt32Ty(Ctx)); in TEST()
/external/llvm-project/polly/lib/CodeGen/
DManagedMemoryRewrite.cpp218 cast<GlobalVariable>(M.getOrInsertGlobal(NewName, ElemPtrTy)); in replaceGlobalArray()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp767 static Constant *getOrInsertGlobal(Module &M, StringRef Name, Type *Ty) { in getOrInsertGlobal() function
768 return M.getOrInsertGlobal(Name, Ty, [&] { in getOrInsertGlobal()
789 getOrInsertGlobal(M, "__msan_retval_tls", in createUserspaceApi()
792 RetvalOriginTLS = getOrInsertGlobal(M, "__msan_retval_origin_tls", OriginTy); in createUserspaceApi()
795 getOrInsertGlobal(M, "__msan_param_tls", in createUserspaceApi()
799 getOrInsertGlobal(M, "__msan_param_origin_tls", in createUserspaceApi()
803 getOrInsertGlobal(M, "__msan_va_arg_tls", in createUserspaceApi()
807 getOrInsertGlobal(M, "__msan_va_arg_origin_tls", in createUserspaceApi()
811 getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getInt64Ty()); in createUserspaceApi()
981 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] { in initializeModule()
[all …]
DHWAddressSanitizer.cpp536 Constant *C = M.getOrInsertGlobal("__hwasan_tls", IntptrTy, [&] { in initializeModule()
573 ShadowGlobal = M.getOrInsertGlobal("__hwasan_shadow", in initializeCallbacks()
618 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
/external/llvm/lib/IR/
DModule.cpp223 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { in getOrInsertGlobal() function in Module
/external/llvm/include/llvm/IR/
DModule.h385 Constant *getOrInsertGlobal(StringRef Name, Type *Ty);

123