Home
last modified time | relevance | path

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

123456789

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp28 return B.CreateBitCast(V, B.getInt8PtrTy(), "cstr"); in CastToCStr()
43 B.getInt8PtrTy(), in EmitStrLen()
61 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrChr()
85 B.getInt8PtrTy(), in EmitStrNCmp()
86 B.getInt8PtrTy(), in EmitStrNCmp()
105 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrCpy()
123 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrNCpy()
145 B.getInt8PtrTy(), in EmitMemCpyChk()
146 B.getInt8PtrTy(), in EmitMemCpyChk()
147 B.getInt8PtrTy(), in EmitMemCpyChk()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp163 "__tsan_func_entry", Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
178 ReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
182 WriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
187 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
192 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
236 IRB.getInt8PtrTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
238 "__tsan_vptr_read", Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
245 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
246 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
248 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
[all …]
DEfficiencySanitizer.cpp270 AlignedLoadName, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
274 AlignedStoreName, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
278 UnalignedLoadName, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
282 UnalignedStoreName, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks()
286 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
289 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
291 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
292 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
294 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
295 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks()
[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/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/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_function.cc31 llvm::Type* i8_ptr_type = llvm::Type::getInt8PtrTy(llvm_module->getContext()); in GetComputeFunctionParams()
202 llvm::Constant::getNullValue(b->getInt8PtrTy()->getPointerTo()); in GetArrayFunctionCallArguments()
205 b->getInt8PtrTy(), b->getInt32(parameter_addresses.size()), in GetArrayFunctionCallArguments()
210 parameter_addresses[i], b->getInt8PtrTy(), in GetArrayFunctionCallArguments()
219 return b->CreatePointerCast(ptr, b->getInt8PtrTy()); in GetArrayFunctionCallArguments()
251 llvm::Type::getInt8PtrTy(module->getContext())); in EmitCallToParallelForkJoin()
326 b->CreateBitCast(parallel_function, b->getInt8PtrTy())); in EmitCallToParallelForkJoin()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
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.cpp757 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr()
769 B.getInt8PtrTy()); in emitStrLen()
785 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr()
806 B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrNCmp()
824 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy()
840 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy()
863 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
864 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk()
882 Value *MemChr = M->getOrInsertFunction(MemChrName, B.getInt8PtrTy(), in emitMemChr()
883 B.getInt8PtrTy(), B.getInt32Ty(), in emitMemChr()
[all …]
DModuleUtils.cpp38 IRB.getInt8PtrTy()); in appendToGlobalArray()
50 Constant::getNullValue(IRB.getInt8PtrTy())); in appendToGlobalArray()
58 IRB.getInt8PtrTy()); in appendToGlobalArray()
67 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
68 : Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
106 Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext()); in appendToUsedList()
/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-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp181 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction()
227 Type::getInt8PtrTy(Context) // EXCEPTION_DISPOSITION (*Handler)(...) in getEHLinkRegistrationType()
244 Type::getInt8PtrTy(Context), // void *SavedESP in getCXXEHRegistrationType()
266 Type::getInt8PtrTy(Context), // void *SavedESP in getSEHRegistrationType()
267 Type::getInt8PtrTy(Context), // void *ExceptionPointers in getSEHRegistrationType()
288 Type *Int8PtrType = Builder.getInt8PtrTy(); in emitExceptionRegistrationRecord()
381 Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext())); in emitEHLSDA()
396 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk()
435 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration()
493 Builder.CreateBitCast(CS.getArgOperand(0), Builder.getInt8PtrTy())); in rewriteSetJmpCallSite()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/LLVM/unittests/Support/
DTypeBuilderTest.cpp24 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
26 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
28 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
30 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
75 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST()
82 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST()
89 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST()
118 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp111 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
137 "__cfi_check_fail", Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), in buildCFICheck()
138 Type::getInt8PtrTy(Ctx)); in buildCFICheck()
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp879 builder.getInt8PtrTy()); in generateStringPrint()
923 builder.getInt8PtrTy()); in generateIntegerPrint()
974 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock()
1293 builder.CreateStructGEP(builder.getInt8PtrTy(), typeInfoThrown, 0); in createCatchWrappedInvokeFunction()
1618 builder.getInt8PtrTy(), in createStandardUtilityFunctions()
1701 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1720 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1738 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1774 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1789 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions()
[all …]
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp930 builder.getInt8PtrTy()); in generateStringPrint()
974 builder.getInt8PtrTy()); in generateIntegerPrint()
1025 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock()
1344 builder.CreateStructGEP(builder.getInt8PtrTy(), typeInfoThrown, 0); in createCatchWrappedInvokeFunction()
1669 builder.getInt8PtrTy(), in createStandardUtilityFunctions()
1752 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1771 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1789 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1825 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1840 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp115 Type::getInt8PtrTy(Context), in AddPrototypes()
116 Type::getInt8PtrTy(Context), in AddPrototypes()
117 Type::getInt8PtrTy(Context), in AddPrototypes()
122 Type::getInt8PtrTy(Context), in AddPrototypes()
123 Type::getInt8PtrTy(Context), in AddPrototypes()
124 Type::getInt8PtrTy(Context), in AddPrototypes()
129 Type::getInt8PtrTy(Context), in AddPrototypes()
130 Type::getInt8PtrTy(Context), in AddPrototypes()

123456789