| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 271 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 D | MemProfiler.cpp | 311 {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 D | HWAddressSanitizer.cpp | 577 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 D | MemorySanitizer.cpp | 762 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 D | AddressSanitizer.cpp | 1370 {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 D | InstrProfiling.cpp | 661 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 D | BuildLibCalls.cpp | 1248 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 D | SanitizerStats.cpp | 25 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 D | EntryExitInstrumenter.cpp | 44 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall() 55 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
|
| H A D | ModuleUtils.cpp | 34 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 D | RelLookupTableConverter.cpp | 153 Value *Base = Builder.CreateBitCast(RelLookupTable, Builder.getInt8PtrTy()); in convertToRelLookupTable() 161 if (Load->getType() != Builder.getInt8PtrTy()) in convertToRelLookupTable()
|
| H A D | EscapeEnumerator.cpp | 73 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 175 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 D | X86LowerAMXType.cpp | 180 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 D | CGGPUBuiltin.cpp | 25 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 D | CrossDSOCFI.cpp | 107 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 D | StackProtector.cpp | 385 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 D | SjLjEHPrepare.cpp | 93 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 D | WasmEHPrepare.cpp | 139 IRB.getInt8PtrTy(), // lsda in doInitialization() 241 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
|
| H A D | DwarfEHPrepare.cpp | 217 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 D | CFGuard.cpp | 175 {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 D | CoroCleanup.cpp | 45 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()
|
| H A D | Coroutines.cpp | 96 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 D | AMDGPULowerModuleLDSPass.cpp | 95 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 D | IRForTarget.cpp | 407 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()
|