Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp271 IRB.getInt8PtrTy()); in initialize()
275 IRB.getInt8PtrTy()); in initialize()
287 VolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
305 CompoundRWName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
375 IRB.getInt8PtrTy(), IRB.getInt8PtrTy()); in initialize()
392 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), in initialize()
393 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
395 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize()
396 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
398 M.getOrInsertFunction("memset", Attr, IRB.getInt8PtrTy(), in initialize()
[all …]
H A 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()
H A DHWAddressSanitizer.cpp577 Int8PtrTy = IRB.getInt8PtrTy(); in initializeModule()
670 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
671 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
673 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
674 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
676 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
916 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
917 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
922 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1050 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace())); in getStackBaseTag()
[all …]
H A DMemorySanitizer.cpp762 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi()
840 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
843 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
861 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
862 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
864 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
867 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks()
2554 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst()
2555 IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()), in visitMemMoveInst()
2568 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemCpyInst()
[all …]
H A DAddressSanitizer.cpp1370 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1371 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1376 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1717 Value *AddrLong = IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()); in instrumentAMDGPUAddress()
2475 IRB.getInt8PtrTy()); in InstrumentGlobals()
2667 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
2668 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
2670 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
2671 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
2673 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
[all …]
H A DInstrProfiling.cpp661 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()), in lowerValueProfileInst()
667 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()), in lowerValueProfileInst()
900 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); in getOrCreateRegionCounters()
919 ConstantExpr::getBitCast(ValuesVar, Type::getInt8PtrTy(Ctx)); in getOrCreateRegionCounters()
1068 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1248 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrDup()
1265 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
1310 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk()
1326 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemPCpy()
1344 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemCmp()
1353 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitBCmp()
1361 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()}, in emitMemCCpy()
1371 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy()}, in emitSNPrintf()
1381 {B.getInt8PtrTy(), B.getInt8PtrTy()}, Args, B, TLI, in emitSPrintf()
1388 {B.getInt8PtrTy(), B.getInt8PtrTy()}, in emitStrCat()
[all …]
H A 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()
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.cpp34 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy()); in appendToGlobalArray()
49 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
50 : Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
90 Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext()); in appendToUsedList()
H A DRelLookupTableConverter.cpp153 Value *Base = Builder.CreateBitCast(RelLookupTable, Builder.getInt8PtrTy()); in convertToRelLookupTable()
161 if (Load->getType() != Builder.getInt8PtrTy()) in convertToRelLookupTable()
H A DEscapeEnumerator.cpp73 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
/freebsd-13.1/contrib/llvm-project/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 …]
H A DX86LowerAMXType.cpp180 Builder.CreateBitCast(LD->getOperand(0), Builder.getInt8PtrTy()); in combineLoadBitcast()
208 Builder.CreateBitCast(ST->getOperand(1), Builder.getInt8PtrTy()); in combineBitcastStore()
235 I8Ptr = Builder.CreateBitCast(AllocaAddr, Builder.getInt8PtrTy()); in transformBitcast()
396 Value *I8Ptr = Builder.CreateBitCast(AllocaRes, Builder.getInt8PtrTy()); in getAllocaPos()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp107 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
134 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp385 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard()
418 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue()
495 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors()
551 LoadInst *LI2 = B.CreateLoad(B.getInt8PtrTy(), AI, true); in InsertStackProtectors()
581 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()
H A DWasmEHPrepare.cpp139 IRB.getInt8PtrTy(), // lsda in doInitialization()
241 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
H A DDwarfEHPrepare.cpp217 FunctionType::get(Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls()
244 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesLeft, "exn.obj", in InsertUnwindResumeCalls()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp175 {B.CreateBitCast(CalledOperand, B.getInt8PtrTy())}); in insertCFGuardCheck()
234 {Type::getInt8PtrTy(M.getContext())}, false); in doInitialization()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp45 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()
H A DCoroutines.cpp96 Int8Ptr(Type::getInt8PtrTy(Context)), in LowererBase()
184 Elide ? ConstantPointerNull::get(Type::getInt8PtrTy(CoroId->getContext())) in replaceCoroFree()
347 auto *Undef = UndefValue::get(Type::getInt8PtrTy(F.getContext())); in buildFrom()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp95 ArrayType::get(Type::getInt8PtrTy(M.getContext()), Init.size()); in removeFromUsedList()
278 cast<Constant>(SGV), Type::getInt8PtrTy(Ctx)))}); in processUsedLDS()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp407 Type *i8_ptr_ty = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCConstString()
839 Type *sel_ptr_type = Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector()
843 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCSelector()
861 _objc_meth_var_name_, Type::getInt8PtrTy(m_module->getContext())); in RewriteObjCSelector()
995 type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext()); in RewriteObjCClassReference()
1013 _objc_class_name_, Type::getInt8PtrTy(m_module->getContext())); in RewriteObjCClassReference()

12345