Home
last modified time | relevance | path

Searched refs:getInt8PtrTy (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp255 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
270 IRB.getInt8PtrTy()); in initialize()
274 IRB.getInt8PtrTy()); 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()
295 UnalignedVolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
300 UnalignedVolatileWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
304 CompoundRWName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
[all …]
DMemProfiler.cpp311 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
312 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
317 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
547 ClMemoryAccessCallbackPrefix + "memmove", IRB.getInt8PtrTy(), in initializeCallbacks()
548 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
550 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
551 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
553 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp210 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
225 IRB.getInt8PtrTy()); in initialize()
229 IRB.getInt8PtrTy()); in initialize()
233 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
237 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
281 IRB.getInt8PtrTy(), IRB.getInt8PtrTy()); in initialize()
283 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
290 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), in initialize()
291 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
293 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp154 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), 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()
223 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
225 "__tsan_vptr_read", IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
232 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
233 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
235 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
[all …]
DEfficiencySanitizer.cpp258 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()
274 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
277 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
279 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
280 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
282 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
283 IRB.getInt8PtrTy(), IntptrTy, nullptr)); in initializeCallbacks()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp824 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr()
851 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI); in emitStrLen()
856 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrDup()
862 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr()
873 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
879 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy()
886 Type *I8Ptr = B.getInt8PtrTy(); in emitStpCpy()
893 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy()
900 Type *I8Ptr = B.getInt8PtrTy(); in emitStpNCpy()
917 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
[all …]
DSanitizerStats.cpp25 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
37 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy()
45 PointerType *Int8PtrTy = B.getInt8PtrTy(); in create()
77 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp1009 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr()
1036 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI); in emitStrLen()
1041 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrDup()
1047 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr()
1058 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
1064 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy()
1071 Type *I8Ptr = B.getInt8PtrTy(); in emitStpCpy()
1078 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy()
1085 Type *I8Ptr = B.getInt8PtrTy(); in emitStpNCpy()
1102 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
[all …]
DSanitizerStats.cpp25 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
37 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy()
45 PointerType *Int8PtrTy = B.getInt8PtrTy(); in create()
77 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp38 IRB.getInt8PtrTy(), nullptr); in appendToGlobalArray()
50 Constant::getNullValue(IRB.getInt8PtrTy()), nullptr); in appendToGlobalArray()
58 IRB.getInt8PtrTy(), nullptr); in appendToGlobalArray()
67 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
68 : Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
DSanitizerStats.cpp26 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
38 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy()
46 PointerType *Int8PtrTy = B.getInt8PtrTy(); in create()
78 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish()
DBuildLibCalls.cpp714 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr()
725 B.getInt8PtrTy(), nullptr); in emitStrLen()
740 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr()
760 B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrNCmp()
778 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy()
794 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy()
817 "__memcpy_chk", AttributeSet::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
818 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk()
835 Value *MemChr = M->getOrInsertFunction("memchr", B.getInt8PtrTy(), in emitMemChr()
836 B.getInt8PtrTy(), B.getInt32Ty(), in emitMemChr()
[all …]
/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp25 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration()
26 llvm::Type::getInt8PtrTy(M.getContext())}; in GetVprintfDeclaration()
97 BufferPtr = llvm::ConstantPointerNull::get(llvm::Type::getInt8PtrTy(Ctx)); in EmitCUDADevicePrintfCallExpr()
110 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitCUDADevicePrintfCallExpr()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinEHState.cpp175 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction()
216 Type::getInt8PtrTy(Context) // EXCEPTION_DISPOSITION (*Handler)(...) in getEHLinkRegistrationType()
233 Type::getInt8PtrTy(Context), // void *SavedESP in getCXXEHRegistrationType()
255 Type::getInt8PtrTy(Context), // void *SavedESP in getSEHRegistrationType()
256 Type::getInt8PtrTy(Context), // void *ExceptionPointers in getSEHRegistrationType()
277 Type *Int8PtrType = Builder.getInt8PtrTy(); in emitExceptionRegistrationRecord()
340 Builder.getInt8PtrTy( in emitExceptionRegistrationRecord()
373 Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext())); in emitEHLSDA()
388 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk()
427 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGGPUBuiltin.cpp25 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration()
26 llvm::Type::getInt8PtrTy(M.getContext())}; in GetVprintfDeclaration()
97 BufferPtr = llvm::ConstantPointerNull::get(llvm::Type::getInt8PtrTy(Ctx)); in EmitNVPTXDevicePrintfCallExpr()
116 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitNVPTXDevicePrintfCallExpr()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp101 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx), nullptr); in buildCFICheck()
119 "__cfi_check_fail", Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), in buildCFICheck()
120 Type::getInt8PtrTy(Ctx), nullptr); in buildCFICheck()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_function.cc31 llvm::Type* i8_ptr_type = llvm::Type::getInt8PtrTy(llvm_module->getContext()); in GetComputeFunctionParams()
193 llvm::Type* int8ptr_ty = b->getInt8PtrTy(); in EncodeArrayFunctionArguments()
203 arguments[i], b->getInt8PtrTy(), in EncodeArrayFunctionArguments()
226 return b->CreatePointerCast(ptr, b->getInt8PtrTy()); in GetArrayFunctionCallArguments()
258 llvm::Type::getInt8PtrTy(module->getContext())); in EmitCallToParallelForkJoin()
333 b->CreateBitCast(parallel_function, b->getInt8PtrTy())); in EmitCallToParallelForkJoin()
/external/llvm/unittests/IR/
DTypeBuilderTest.cpp23 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
25 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
27 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
29 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
101 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(Context)), in TEST()
108 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(Context)), in TEST()
115 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(Context)), in TEST()
143 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp175 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction()
221 Type::getInt8PtrTy(Context) // EXCEPTION_DISPOSITION (*Handler)(...) in getEHLinkRegistrationType()
238 Type::getInt8PtrTy(Context), // void *SavedESP in getCXXEHRegistrationType()
260 Type::getInt8PtrTy(Context), // void *SavedESP in getSEHRegistrationType()
261 Type::getInt8PtrTy(Context), // void *ExceptionPointers in getSEHRegistrationType()
282 Type *Int8PtrType = Builder.getInt8PtrTy(); in emitExceptionRegistrationRecord()
375 Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext())); in emitEHLSDA()
390 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk()
427 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration()
485 Builder.CreateBitCast(CS.getArgOperand(0), Builder.getInt8PtrTy())); in rewriteSetJmpCallSite()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp175 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction()
216 Type::getInt8PtrTy(Context) // EXCEPTION_DISPOSITION (*Handler)(...) in getEHLinkRegistrationType()
233 Type::getInt8PtrTy(Context), // void *SavedESP in getCXXEHRegistrationType()
255 Type::getInt8PtrTy(Context), // void *SavedESP in getSEHRegistrationType()
256 Type::getInt8PtrTy(Context), // void *ExceptionPointers in getSEHRegistrationType()
277 Type *Int8PtrType = Builder.getInt8PtrTy(); in emitExceptionRegistrationRecord()
340 Builder.getInt8PtrTy( in emitExceptionRegistrationRecord()
373 Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext())); in emitEHLSDA()
388 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk()
427 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp107 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
134 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp107 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
134 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
/external/bcc/src/cc/
Dbpf_module_rw_engine.cc56 vector<Type *> fprintf_fn_args({B.getInt64Ty(), B.getInt8PtrTy()}); in debug_printf()
232 B.getInt32Ty(), {B.getInt8PtrTy(), B.getInt8PtrTy()}, /*isVarArg=*/true); in make_reader()
242 vector<Type *> fn_args({B.getInt8PtrTy(), PointerType::getUnqual(type)}); in make_reader()
258 Value *sptr = B.CreateAlloca(B.getInt8PtrTy()); in make_reader()
302 vector<Type *> fn_args({B.getInt8PtrTy(), B.getInt64Ty(), PointerType::getUnqual(type)}); in make_writer()
334 vector<Type *> snprintf_fn_args({B.getInt8PtrTy(), B.getInt64Ty(), B.getInt8PtrTy()}); in make_writer()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp32 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/); in SetUp()
41 AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in SetUp()
56 Type::getInt8PtrTy(Ctx)); in SetUp()
98 Builder.CreateRet(ConstantPointerNull::get(Type::getInt8PtrTy(Ctx))); in TEST_F()
113 ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in TEST_F()
137 Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/); in getExternal()
152 Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/); in getInternal()
/external/llvm-project/llvm/unittests/Linker/
DLinkModulesTest.cpp31 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/); in SetUp()
40 AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in SetUp()
55 Type::getInt8PtrTy(Ctx)); in SetUp()
97 Builder.CreateRet(ConstantPointerNull::get(Type::getInt8PtrTy(Ctx))); in TEST_F()
112 ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in TEST_F()
136 Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/); in getExternal()
151 Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/); in getInternal()

12345678910>>...13