Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp255 IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
270 IRB.getInt8PtrTy()); in initialize()
274 IRB.getInt8PtrTy()); in initialize()
278 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
282 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
286 VolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
290 VolatileWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
295 UnalignedVolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
300 UnalignedVolatileWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
304 CompoundRWName, Attr, IRB.getVoidTy(), 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.cpp499 Int8PtrTy = IRB.getInt8PtrTy(); in initializeModule()
591 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
592 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
594 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
595 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
597 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
837 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
838 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
843 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
958 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace())); in getStackBaseTag()
[all …]
H A DMemorySanitizer.cpp762 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy()); in createKernelApi()
764 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy); in createKernelApi()
834 IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), IRB.getInt8PtrTy(), in createUserspaceApi()
839 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in createUserspaceApi()
840 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
843 IRB.getInt8PtrTy(), IntptrTy); in createUserspaceApi()
859 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt32Ty()); in initializeCallbacks()
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()
[all …]
H A DAddressSanitizer.cpp1360 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1361 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1366 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1707 Value *AddrLong = IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()); in instrumentAMDGPUAddress()
2467 Constant *ODRIndicator = ConstantExpr::getNullValue(IRB.getInt8PtrTy()); in InstrumentGlobals()
2483 IRB.getInt8PtrTy()); in InstrumentGlobals()
2675 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
2676 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
2678 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
2679 IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1216 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr"); in castToCStr()
1243 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI); in emitStrLen()
1248 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(), in emitStrDup()
1254 Type *I8Ptr = B.getInt8PtrTy(); in emitStrChr()
1265 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
1271 Type *I8Ptr = B.getInt8PtrTy(); in emitStrCpy()
1278 Type *I8Ptr = B.getInt8PtrTy(); in emitStpCpy()
1285 Type *I8Ptr = B.getInt8PtrTy(); in emitStrNCpy()
1292 Type *I8Ptr = B.getInt8PtrTy(); in emitStpNCpy()
1309 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(), in emitMemCpyChk()
[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.cpp149 Value *Base = Builder.CreateBitCast(RelLookupTable, Builder.getInt8PtrTy()); in convertToRelLookupTable()
157 if (Load->getType() != Builder.getInt8PtrTy()) in convertToRelLookupTable()
H A DEscapeEnumerator.cpp73 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
/netbsd-src/external/apache2/llvm/dist/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()
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 …]
H A DX86LowerAMXType.cpp179 Builder.CreateBitCast(LD->getOperand(0), Builder.getInt8PtrTy()); in combineLoadBitcast()
207 Builder.CreateBitCast(ST->getOperand(1), Builder.getInt8PtrTy()); in combineBitcastStore()
234 I8Ptr = Builder.CreateBitCast(AllocaAddr, Builder.getInt8PtrTy()); in transformBitcast()
395 Value *I8Ptr = Builder.CreateBitCast(AllocaRes, Builder.getInt8PtrTy()); in getAllocaPos()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-offload-wrapper/
H A DClangOffloadWrapper.cpp75 switch (M.getDataLayout().getPointerTypeSize(Type::getInt8PtrTy(C))) { in getSizeTTy()
93 EntryTy = StructType::create("__tgt_offload_entry", Type::getInt8PtrTy(C), in getEntryTy()
94 Type::getInt8PtrTy(C), getSizeTTy(), in getEntryTy()
109 ImageTy = StructType::create("__tgt_device_image", Type::getInt8PtrTy(C), in getDeviceImageTy()
110 Type::getInt8PtrTy(C), getEntryPtrTy(), in getDeviceImageTy()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp878 builder.getInt8PtrTy()); in generateStringPrint()
922 builder.getInt8PtrTy()); in generateIntegerPrint()
973 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock()
1292 builder.CreateStructGEP(builder.getInt8PtrTy(), typeInfoThrown, 0); in createCatchWrappedInvokeFunction()
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()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
491 {Type::getInt8PtrTy(M.getContext(), in runOnFunction()
H A DWasmEHPrepare.cpp153 IRB.getInt8PtrTy(), // lsda in doInitialization()
258 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
H A DDwarfEHPrepare.cpp194 FunctionType::get(Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls()
221 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesLeft, "exn.obj", in InsertUnwindResumeCalls()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp175 {B.CreateBitCast(CalledOperand, B.getInt8PtrTy())}); in insertCFGuardCheck()
234 {Type::getInt8PtrTy(M.getContext())}, false); in doInitialization()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp45 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); in lowerSubFn()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp78 ArrayType::get(Type::getInt8PtrTy(M.getContext()), Init.size()); in removeFromUsedList()
224 cast<Constant>(SGV), Type::getInt8PtrTy(Ctx)))}); in runOnModule()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfData.inc76 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), NamePtr, \
77 ConstantExpr::getBitCast(NamePtr, llvm::Type::getInt8PtrTy(Ctx)))
81 INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
83 INSTR_PROF_DATA(IntPtrT, llvm::Type::getInt8PtrTy(Ctx), Values, \
123 VALUE_PROF_FUNC_PARAM(void *, Data, Type::getInt8PtrTy(Ctx)) INSTR_PROF_COMMA
156 COVMAP_FUNC_RECORD(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), \
158 llvm::Type::getInt8PtrTy(Ctx)))

12345