Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp289 Type::getInt8PtrTy(C)); in getFatbinWrapperTy()
297 llvm::Type *Int8PtrTy = Type::getInt8PtrTy(C); in createFatbinDesc()
318 ConstantPointerNull::get(Type::getInt8PtrTy(C))}; in createFatbinDesc()
373 {Type::getInt8PtrTy(C)->getPointerTo(), Type::getInt8PtrTy(C), in createRegisterGlobalsFunction()
374 Type::getInt8PtrTy(C), Type::getInt8PtrTy(C), Type::getInt32Ty(C), in createRegisterGlobalsFunction()
375 Type::getInt8PtrTy(C), Type::getInt8PtrTy(C), Type::getInt8PtrTy(C), in createRegisterGlobalsFunction()
376 Type::getInt8PtrTy(C), Type::getInt32PtrTy(C)}, in createRegisterGlobalsFunction()
384 {Type::getInt8PtrTy(C)->getPointerTo(), Type::getInt8PtrTy(C), in createRegisterGlobalsFunction()
385 Type::getInt8PtrTy(C), Type::getInt8PtrTy(C), Type::getInt32Ty(C), in createRegisterGlobalsFunction()
559 M, Type::getInt8PtrTy(C)->getPointerTo(), false, in createRegisterFatbinFunction()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp223 IRB.getInt8PtrTy()); in initialize()
227 IRB.getInt8PtrTy()); in initialize()
239 VolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
257 CompoundRWName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
327 IRB.getInt8PtrTy(), IRB.getInt8PtrTy()); in initialize()
344 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), in initialize()
345 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
347 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize()
348 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
350 M.getOrInsertFunction("memset", Attr, IRB.getInt8PtrTy(), in initialize()
[all …]
H A DMemProfiler.cpp315 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
316 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
321 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
565 ClMemoryAccessCallbackPrefix + "memmove", IRB.getInt8PtrTy(), in initializeCallbacks()
566 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
568 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
569 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
571 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
H A DHWAddressSanitizer.cpp567 Int8PtrTy = IRB.getInt8PtrTy(); in initializeModule()
665 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
666 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
668 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
669 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
671 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
935 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
936 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
941 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1151 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace())); in getSP()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1453 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrDup()
1470 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
1515 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk()
1531 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemPCpy()
1558 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemCmp()
1567 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitBCmp()
1575 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()}, in emitMemCCpy()
1585 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy()}, in emitSNPrintf()
1595 {B.getInt8PtrTy(), B.getInt8PtrTy()}, Args, B, TLI, in emitSPrintf()
1602 {B.getInt8PtrTy(), B.getInt8PtrTy()}, in emitStrCat()
[all …]
H A DSanitizerStats.cpp24 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport()
36 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy()
44 PointerType *Int8PtrTy = B.getInt8PtrTy(); in create()
76 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish()
H A DEntryExitInstrumenter.cpp44 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall()
55 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
H A DModuleUtils.cpp33 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy()); in appendToGlobalArray()
48 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
49 : Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
89 Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext()); in appendToUsedList()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp26 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetVprintfDeclaration()
27 llvm::Type::getInt8PtrTy(M.getContext())}; in GetVprintfDeclaration()
48 llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()), in GetOpenMPVprintfDeclaration()
49 llvm::Type::getInt8PtrTy(M.getContext()), in GetOpenMPVprintfDeclaration()
102 llvm::Value * BufferPtr = llvm::ConstantPointerNull::get(llvm::Type::getInt8PtrTy(Ctx)); in packArgsIntoNVPTXFormatBuffer()
123 Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in packArgsIntoNVPTXFormatBuffer()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A 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()
388 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk()
427 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration()
483 Builder.CreateBitCast(Call.getArgOperand(0), Builder.getInt8PtrTy())); in rewriteSetJmpCall()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp102 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
129 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DRuntimeDebugBuilder.cpp28 Builder.getInt32Ty(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}, in getVPrintF()
135 if (Ty == Builder.getInt8PtrTy(4)) { in prepareValuesForPrinting()
210 if (Ty == Builder.getInt8PtrTy(4)) { in createGPUPrinterT()
239 Data = Builder.CreateBitCast(Data, Builder.getInt8PtrTy()); in createGPUPrinterT()
277 FunctionType::get(Builder.getInt32Ty(), Builder.getInt8PtrTy(), false); in createFlush()
H A DPerfMonitor.cpp28 {Builder.getInt8PtrTy()}, false); in getAtExit()
48 Builder.getInt8PtrTy()); in addToGlobalConstructors()
52 ConstantPointerNull::get(Builder.getInt8PtrTy()))); in addToGlobalConstructors()
249 Builder.CreatePointerCast(FinalReporting, Builder.getInt8PtrTy()); in insertInitFunction()
H A DLoopGeneratorsGOMP.cpp33 Builder.getVoidTy(), Builder.getInt8PtrTy(), false)), in createCallSpawnThreads()
34 Builder.getInt8PtrTy(), in createCallSpawnThreads()
64 FunctionType::get(Builder.getVoidTy(), {Builder.getInt8PtrTy()}, false); in prepareSubFnDefinition()
H A DPPCGCodeGeneration.cpp889 Args.push_back(Builder.getInt8PtrTy()); in createCallGetKernel()
890 Args.push_back(Builder.getInt8PtrTy()); in createCallGetKernel()
907 Args.push_back(Builder.getInt8PtrTy()); in createCallGetDevicePtr()
927 Args.push_back(Builder.getInt8PtrTy()); in createCallLaunchKernel()
933 Args.push_back(Builder.getInt8PtrTy()); in createCallLaunchKernel()
951 Args.push_back(Builder.getInt8PtrTy()); in createCallFreeKernel()
971 Args.push_back(Builder.getInt8PtrTy()); in createCallFreeDeviceMemory()
1013 Args.push_back(Builder.getInt8PtrTy()); in createCallCopyFromHostToDevice()
1014 Args.push_back(Builder.getInt8PtrTy()); in createCallCopyFromHostToDevice()
1037 Args.push_back(Builder.getInt8PtrTy()); in createCallCopyFromDeviceToHost()
[all …]
/llvm-project-15.0.7/llvm/unittests/Linker/
H A 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()
/llvm-project-15.0.7/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp973 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock()
1617 builder.getInt8PtrTy(), in createStandardUtilityFunctions()
1700 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1719 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1737 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1773 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1788 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions()
1809 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1829 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1852 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
[all …]
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DExecutionEngine.cpp169 builder.getVoidTy(), builder.getInt8PtrTy()->getPointerTo(), in packFunctionArguments()
188 builder.CreateGEP(builder.getInt8PtrTy(), argList, argIndex); in packFunctionArguments()
190 builder.CreateLoad(builder.getInt8PtrTy(), argPtrPtr); in packFunctionArguments()
205 builder.CreateGEP(builder.getInt8PtrTy(), argList, retIndex); in packFunctionArguments()
207 builder.CreateLoad(builder.getInt8PtrTy(), retPtrPtr); in packFunctionArguments()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp80 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
118 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
208 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
252 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
302 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
338 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
384 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
428 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false), in TEST_F()
1102 {B.getInt8PtrTy(), B.getInt8PtrTy()}, in TEST_F()
1145 {B.getInt8PtrTy(), B.getInt8PtrTy()}, in TEST_F()
[all …]
H A DLazyCallGraphTest.cpp2238 (void)CastInst::CreatePointerCast(G, Type::getInt8PtrTy(Context), "", in TEST()
2325 (void)CastInst::CreatePointerCast(G, Type::getInt8PtrTy(Context), "", in TEST()
2371 (void)CastInst::CreatePointerCast(G, Type::getInt8PtrTy(Context), "", in TEST()
2519 (void)CastInst::CreatePointerCast(G, Type::getInt8PtrTy(Context), "", in TEST()
2615 (void)CastInst::CreatePointerCast(G, Type::getInt8PtrTy(Context), "", in TEST()
2658 (void)CastInst::CreatePointerCast(G, Type::getInt8PtrTy(Context), "", in TEST()
2709 (void)CastInst::CreatePointerCast(G1, Type::getInt8PtrTy(Context), "", in TEST()
2711 (void)CastInst::CreatePointerCast(G2, Type::getInt8PtrTy(Context), "", in TEST()
2765 (void)CastInst::CreatePointerCast(G1, Type::getInt8PtrTy(Context), "", in TEST()
2767 (void)CastInst::CreatePointerCast(G2, Type::getInt8PtrTy(Context), "", in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DStackProtector.cpp388 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard()
421 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue()
496 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors()
552 LoadInst *LI2 = B.CreateLoad(B.getInt8PtrTy(), AI, true); in InsertStackProtectors()
582 Type::getInt8PtrTy(Context)); in CreateFailBB()
H A DSjLjEHPrepare.cpp93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization()
203 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
222 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext()
421 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
495 {Type::getInt8PtrTy(M.getContext(), in runOnFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp36 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()
/llvm-project-15.0.7/clang/tools/clang-offload-wrapper/
H A DClangOffloadWrapper.cpp104 switch (M.getDataLayout().getPointerTypeSize(Type::getInt8PtrTy(C))) { in getSizeTTy()
122 EntryTy = StructType::create("__tgt_offload_entry", Type::getInt8PtrTy(C), in getEntryTy()
123 Type::getInt8PtrTy(C), getSizeTTy(), in getEntryTy()
138 ImageTy = StructType::create("__tgt_device_image", Type::getInt8PtrTy(C), in getDeviceImageTy()
139 Type::getInt8PtrTy(C), getEntryPtrTy(), in getDeviceImageTy()
/llvm-project-15.0.7/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp181 {B.CreateBitCast(CalledOperand, B.getInt8PtrTy())}, Bundles); in insertCFGuardCheck()
240 {Type::getInt8PtrTy(M.getContext())}, false); in doInitialization()

123456