| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 208 ReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks() 212 WriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks() 266 IRB.getInt8PtrTy(), IRB.getInt8PtrTy())); in initializeCallbacks() 268 "__tsan_vptr_read", Attr, IRB.getVoidTy(), IRB.getInt8PtrTy())); in initializeCallbacks() 275 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 276 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 278 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 279 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 281 M.getOrInsertFunction("memset", Attr, IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 546 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore() [all …]
|
| H A D | EfficiencySanitizer.cpp | 271 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 274 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 276 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 277 IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 279 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 282 M.getOrInsertFunction("memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 325 auto *Int8PtrTy = Type::getInt8PtrTy(*Ctx); in createCacheFragAuxGV() 367 auto *Int8PtrTy = Type::getInt8PtrTy(*Ctx); in createCacheFragInfoGV() 489 auto *Int8PtrTy = Type::getInt8PtrTy(*Ctx); in createEsanInitToolInfoArg() 507 PointerType *Int8PtrTy = Type::getInt8PtrTy(*Ctx); in createDestructor() [all …]
|
| H A D | HWAddressSanitizer.cpp | 309 Int8PtrTy = IRB.getInt8PtrTy(); in doInitialization() 387 MemIntrinCallbackPrefix + "memmove", IRB.getInt8PtrTy(), in initializeCallbacks() 388 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 390 MemIntrinCallbackPrefix + "memcpy", IRB.getInt8PtrTy(), in initializeCallbacks() 391 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 393 MemIntrinCallbackPrefix + "memset", IRB.getInt8PtrTy(), in initializeCallbacks() 394 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy)); in initializeCallbacks() 578 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 579 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 584 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
|
| H A D | MemorySanitizer.cpp | 718 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi() 779 IRB.getInt8PtrTy(), IRB.getInt32Ty()); in createUserspaceApi() 784 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi() 787 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi() 802 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 803 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks() 805 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 808 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks() 2376 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst() 2377 IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()), in visitMemMoveInst() [all …]
|
| H A D | GCOVProfiling.cpp | 879 Type::getInt8PtrTy(*Ctx), // const char *orig_filename in getStartFileFunc() 880 Type::getInt8PtrTy(*Ctx), // const char version[4] in getStartFileFunc() 895 Type::getInt8PtrTy(*Ctx), // const char *function_name in getEmitFunctionFunc() 965 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()}); in insertCounterWriteout() 967 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(), in insertCounterWriteout() 1005 : Constant::getNullValue(Builder.getInt8PtrTy()), in insertCounterWriteout()
|
| H A D | InstrProfiling.cpp | 579 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()), in lowerValueProfileInst() 585 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()), in lowerValueProfileInst() 746 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); in getOrCreateRegionCounters() 767 ConstantExpr::getBitCast(ValuesVar, Type::getInt8PtrTy(Ctx)); in getOrCreateRegionCounters() 896 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration()
|
| H A D | AddressSanitizer.cpp | 1177 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 1178 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 1183 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 2191 Constant *ODRIndicator = ConstantExpr::getNullValue(IRB.getInt8PtrTy()); in InstrumentGlobals() 2207 IRB.getInt8PtrTy()); in InstrumentGlobals() 2378 MemIntrinCallbackPrefix + "memmove", IRB.getInt8PtrTy(), in initializeCallbacks() 2379 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 2381 MemIntrinCallbackPrefix + "memcpy", IRB.getInt8PtrTy(), in initializeCallbacks() 2382 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy)); in initializeCallbacks() 2384 MemIntrinCallbackPrefix + "memset", IRB.getInt8PtrTy(), in initializeCallbacks() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/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-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SanitizerStats.cpp | 26 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()
|
| H A D | BuildLibCalls.cpp | 790 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr() 802 B.getInt8PtrTy()); in emitStrLen() 818 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr() 839 B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrNCmp() 857 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy() 873 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy() 897 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk() 936 B.getInt8PtrTy(), B.getInt8PtrTy(), in emitMemCmp() 1106 FPutsName, B.getInt32Ty(), B.getInt8PtrTy(), File->getType()); in emitFPutS() 1143 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFWrite() [all …]
|
| H A D | ModuleUtils.cpp | 38 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()
|
| H A D | EntryExitInstrumenter.cpp | 41 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall() 52 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
|
| H A D | EscapeEnumerator.cpp | 70 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 177 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction() 223 Type::getInt8PtrTy(Context) // EXCEPTION_DISPOSITION (*Handler)(...) in getEHLinkRegistrationType() 240 Type::getInt8PtrTy(Context), // void *SavedESP in getCXXEHRegistrationType() 262 Type::getInt8PtrTy(Context), // void *SavedESP in getSEHRegistrationType() 263 Type::getInt8PtrTy(Context), // void *ExceptionPointers in getSEHRegistrationType() 284 Type *Int8PtrType = Builder.getInt8PtrTy(); in emitExceptionRegistrationRecord() 377 Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext())); in emitEHLSDA() 392 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk() 431 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration() 489 Builder.CreateBitCast(CS.getArgOperand(0), Builder.getInt8PtrTy())); in rewriteSetJmpCallSite() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 111 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()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 115 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()
|
| H A D | SjLjEHPrepare.cpp | 86 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() 196 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext() 211 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext() 410 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
|
| H A D | DwarfEHPrepare.cpp | 212 Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls() 235 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesLeft, in InsertUnwindResumeCalls()
|
| H A D | WasmEHPrepare.cpp | 178 IRB.getInt8PtrTy(), // lsda in doInitialization() 280 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy())); in prepareEHPads()
|
| H A D | StackProtector.cpp | 359 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue() 506 Type::getInt8PtrTy(Context)); in CreateFailBB()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroCleanup.cpp | 47 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()
|
| H A D | Coroutines.cpp | 97 Int8Ptr(Type::getInt8PtrTy(Context)), in LowererBase() 163 Elide ? ConstantPointerNull::get(Type::getInt8PtrTy(CoroId->getContext())) in replaceCoroFree() 306 auto *Undef = UndefValue::get(Type::getInt8PtrTy(F.getContext())); in buildFrom()
|
| H A D | CoroSplit.cpp | 301 NewFramePtr, Type::getInt8PtrTy(Builder.getContext()), "vFrame"); in createClone() 395 auto *BC = ConstantExpr::getPointerCast(GV, Type::getInt8PtrTy(C)); in setCoroInfo() 531 auto *VFrame = Builder.CreateBitCast(Frame, Builder.getInt8PtrTy()); in handleNoSuspendCoroutine() 845 auto *Null = ConstantPointerNull::get(Type::getInt8PtrTy(F.getContext())); in prepareForSplit() 863 auto *FnTy = FunctionType::get(Type::getVoidTy(C), Type::getInt8PtrTy(C), in createDevirtTriggerFunc()
|
| H A D | CoroInstr.h | 111 ConstantPointerNull::get(Type::getInt8PtrTy(getContext()))); in clearPromise() 172 auto *const Int8PtrTy = Type::getInt8PtrTy(getContext()); in setCoroutineSelf()
|
| /freebsd-12.1/contrib/compiler-rt/lib/profile/ |
| H A D | InstrProfData.inc | 86 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \ 88 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \ 119 INSTR_PROF_VALUE_NODE(PtrToNodeT, llvm::Type::getInt8PtrTy(Ctx), Next, \ 155 VALUE_PROF_FUNC_PARAM(void *, Data, Type::getInt8PtrTy(Ctx)) INSTR_PROF_COMMA 210 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \ 212 llvm::Type::getInt8PtrTy(Ctx)))
|