Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp824 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr()
851 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI); in emitStrLen()
856 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrDup()
862 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr()
873 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
879 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy()
886 Type *I8Ptr = B.getInt8PtrTy(); in emitStpCpy()
893 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy()
900 Type *I8Ptr = B.getInt8PtrTy(); in emitStpNCpy()
917 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
[all …]
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()
DEntryExitInstrumenter.cpp41 Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)}; in insertCall()
52 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
DModuleUtils.cpp32 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy()); in appendToGlobalArray()
47 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
48 : Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
86 Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext()); in appendToUsedList()
DEscapeEnumerator.cpp69 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp210 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
225 IRB.getInt8PtrTy()); in initialize()
229 IRB.getInt8PtrTy()); in initialize()
233 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
237 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
281 IRB.getInt8PtrTy(), IRB.getInt8PtrTy()); in initialize()
283 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
290 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), in initialize()
291 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initialize()
293 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize()
[all …]
DHWAddressSanitizer.cpp374 Int8PtrTy = IRB.getInt8PtrTy(); in initializeModule()
465 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
466 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
468 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
469 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
471 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
703 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
704 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
709 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
837 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace())); in getStackBaseTag()
[all …]
DMemorySanitizer.cpp745 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi()
747 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createKernelApi()
806 IRB.getInt8PtrTy(), IRB.getInt32Ty()); in createUserspaceApi()
810 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in createUserspaceApi()
811 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
814 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
829 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
830 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
832 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
835 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks()
[all …]
DGCOVProfiling.cpp891 Type::getInt8PtrTy(*Ctx), // const char *orig_filename in getStartFileFunc()
892 Type::getInt8PtrTy(*Ctx), // const char version[4] in getStartFileFunc()
906 Type::getInt8PtrTy(*Ctx), // const char *function_name in getEmitFunctionFunc()
976 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()}); in insertCounterWriteout()
978 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(), in insertCounterWriteout()
1016 : Constant::getNullValue(Builder.getInt8PtrTy()), in insertCounterWriteout()
DInstrProfiling.cpp616 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()), in lowerValueProfileInst()
622 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()), in lowerValueProfileInst()
793 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); in getOrCreateRegionCounters()
814 ConstantExpr::getBitCast(ValuesVar, Type::getInt8PtrTy(Ctx)); in getOrCreateRegionCounters()
948 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration()
DAddressSanitizer.cpp1307 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1308 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1313 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
2336 Constant *ODRIndicator = ConstantExpr::getNullValue(IRB.getInt8PtrTy()); in InstrumentGlobals()
2352 IRB.getInt8PtrTy()); in InstrumentGlobals()
2516 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
2517 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
2519 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
2520 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
2522 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
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()
373 Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext())); in emitEHLSDA()
388 Type *Int8PtrType = Type::getInt8PtrTy(Context); in generateLSDAInEAXThunk()
427 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy()); in linkExceptionRegistration()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp107 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
134 Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx)); in buildCFICheck()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp358 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard()
391 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in CreatePrologue()
453 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors()
508 LoadInst *LI2 = B.CreateLoad(B.getInt8PtrTy(), AI, true); in InsertStackProtectors()
536 Type::getInt8PtrTy(Context)); in CreateFailBB()
DSjLjEHPrepare.cpp86 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization()
197 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext()
213 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()), in setupFunctionContext()
412 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
483 {Type::getInt8PtrTy(M.getContext(), in runOnFunction()
DDwarfEHPrepare.cpp212 Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls()
235 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesLeft, in InsertUnwindResumeCalls()
DWasmEHPrepare.cpp147 IRB.getInt8PtrTy(), // lsda in doInitialization()
252 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
DLowerEmuTLS.cpp87 PointerType *VoidPtrType = Type::getInt8PtrTy(C); in addEmuTlsVar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp46 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()
DCoroutines.cpp97 Int8Ptr(Type::getInt8PtrTy(Context)), in LowererBase()
177 Elide ? ConstantPointerNull::get(Type::getInt8PtrTy(CoroId->getContext())) in replaceCoroFree()
329 auto *Undef = UndefValue::get(Type::getInt8PtrTy(F.getContext())); in buildFrom()
DCoroSplit.cpp736 NewFramePtr, Type::getInt8PtrTy(Builder.getContext()), "vFrame"); in create()
839 auto *BC = ConstantExpr::getPointerCast(GV, Type::getInt8PtrTy(C)); in setCoroInfo()
998 auto *VFrame = Builder.CreateBitCast(Frame, Builder.getInt8PtrTy()); in handleNoSuspendCoroutine()
1413 auto *Null = ConstantPointerNull::get(Type::getInt8PtrTy(Context)); in prepareForSplit()
1417 {Type::getInt8PtrTy(Context)}, false); in prepareForSplit()
1434 auto *FnTy = FunctionType::get(Type::getVoidTy(C), Type::getInt8PtrTy(C), in createDevirtTriggerFunc()
DCoroInstr.h127 ConstantPointerNull::get(Type::getInt8PtrTy(getContext()))); in clearPromise()
188 auto *const Int8PtrTy = Type::getInt8PtrTy(getContext()); in setCoroutineSelf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp175 {B.CreateBitCast(CalledOperand, B.getInt8PtrTy())}); in insertCFGuardCheck()
239 {Type::getInt8PtrTy(M.getContext())}, false); in doInitialization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfData.inc85 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
87 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \
118 INSTR_PROF_VALUE_NODE(PtrToNodeT, llvm::Type::getInt8PtrTy(Ctx), Next, \
156 VALUE_PROF_FUNC_PARAM(void *, Data, Type::getInt8PtrTy(Ctx)) INSTR_PROF_COMMA
211 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \
213 llvm::Type::getInt8PtrTy(Ctx)))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp106 PointerType *VoidStar = Type::getInt8PtrTy(C); in runOnModule()

1234