|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/IRBuilder.h 2437 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace());
2465 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace());
lib/CodeGen/CodeGenPrepare.cpp 4845 Builder.getInt8PtrTy(Addr->getType()->getPointerAddressSpace());
lib/CodeGen/SjLjEHPrepare.cpp 196 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy());
212 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()),
411 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy());
lib/CodeGen/StackProtector.cpp 353 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard");
448 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard");
503 LoadInst *LI2 = B.CreateLoad(B.getInt8PtrTy(), AI, true);
lib/CodeGen/WasmEHPrepare.cpp 145 IRB.getInt8PtrTy(), // lsda
250 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy());
lib/IR/AutoUpgrade.cpp 852 IRB.getInt8PtrTy());
860 Constant::getNullValue(IRB.getInt8PtrTy()));
lib/IR/IRBuilder.cpp 67 PT = getInt8PtrTy(PT->getAddressSpace());
lib/Target/AArch64/AArch64ISelLowering.cpp12267 IRB.getInt8PtrTy()->getPointerTo(0));
lib/Target/AArch64/AArch64StackTagging.cpp 430 IRB.CreateCall(SetTagFunc, {IRB.CreatePointerCast(AI, IRB.getInt8PtrTy()),
667 Value *Ptr = IRB.CreatePointerCast(TagPCall, IRB.getInt8PtrTy());
lib/Target/ARM/ARMISelLowering.cpp16787 Type *Int8Ptr = Builder.getInt8PtrTy(LI->getPointerAddressSpace());
16935 Type *Int8Ptr = Builder.getInt8PtrTy(SI->getPointerAddressSpace());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 2043 Builder.getInt8PtrTy(SI->getPointerAddressSpace()), ExpPt);
2114 Builder.getInt8PtrTy(LI->getPointerAddressSpace()), ExpPt);
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 656 FunctionType::get(IRB.getVoidTy(), IRB.getInt8PtrTy(), false);
662 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false);
lib/Target/X86/X86WinEHState.cpp 281 Type *Int8PtrType = Builder.getInt8PtrTy();
344 Builder.getInt8PtrTy(
431 Value *HandlerI8 = Builder.CreateBitCast(Handler, Builder.getInt8PtrTy());
489 Builder.CreateBitCast(CS.getArgOperand(0), Builder.getInt8PtrTy()));
641 Value *RegNodeI8 = Builder.CreateBitCast(RegNode, Builder.getInt8PtrTy());
649 Builder.CreateBitCast(EHGuardNode, Builder.getInt8PtrTy());
lib/Transforms/CFGuard/CFGuard.cpp 175 {B.CreateBitCast(CalledOperand, B.getInt8PtrTy())});
lib/Transforms/Coroutines/CoroCleanup.cpp 46 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()});
46 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()});
lib/Transforms/Coroutines/CoroSplit.cpp 984 auto *VFrame = Builder.CreateBitCast(Frame, Builder.getInt8PtrTy());
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1306 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
1307 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()),
1312 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
2333 Constant *ODRIndicator = ConstantExpr::getNullValue(IRB.getInt8PtrTy());
2349 IRB.getInt8PtrTy());
2513 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
2513 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
2514 IRB.getInt8PtrTy(), IntptrTy);
2516 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
2516 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
2517 IRB.getInt8PtrTy(), IntptrTy);
2519 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
2519 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
3223 IRBPoison.CreateIntToPtr(SavedFlagPtr, IRBPoison.getInt8PtrTy()));
lib/Transforms/Instrumentation/GCOVProfiling.cpp 972 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()});
972 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()});
974 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(),
1012 : Constant::getNullValue(Builder.getInt8PtrTy()),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 374 Int8PtrTy = IRB.getInt8PtrTy();
465 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
465 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
466 IRB.getInt8PtrTy(), IntptrTy);
468 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
468 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
469 IRB.getInt8PtrTy(), IntptrTy);
471 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
471 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
706 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
707 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()),
712 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()),
840 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
976 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
lib/Transforms/Instrumentation/InstrProfiling.cpp 615 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()),
621 Builder.CreateBitCast(DataVar, Builder.getInt8PtrTy()),
lib/Transforms/Instrumentation/MemorySanitizer.cpp 743 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy());
743 IRB.getInt8PtrTy(), IntptrTy, IRB.getInt8PtrTy());
745 "__msan_unpoison_alloca", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy);
804 IRB.getInt8PtrTy(), IRB.getInt32Ty());
808 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy,
809 IRB.getInt8PtrTy(), IntptrTy);
812 IRB.getInt8PtrTy(), IntptrTy);
827 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
827 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
828 IRB.getInt8PtrTy(), IntptrTy);
830 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
830 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
830 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(),
833 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(),
833 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(),
1145 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()),
2409 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
2410 IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()),
2423 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
2424 IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()),
2434 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
3450 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len});
3463 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len,
3464 IRB.CreatePointerCast(Descr, IRB.getInt8PtrTy()),
3473 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len,
3474 IRB.CreatePointerCast(Descr, IRB.getInt8PtrTy())});
3477 {IRB.CreatePointerCast(&I, IRB.getInt8PtrTy()), Len});
3644 Value *Ptr = IRB.CreatePointerCast(Operand, IRB.getInt8PtrTy());
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 1351 Type *I8PtrTy = Builder.getInt8PtrTy();
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 893 IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 209 IRB.getVoidTy(), IRB.getInt8PtrTy());
224 IRB.getInt8PtrTy());
228 IRB.getInt8PtrTy());
232 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy());
236 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy());
280 IRB.getInt8PtrTy(), IRB.getInt8PtrTy());
280 IRB.getInt8PtrTy(), IRB.getInt8PtrTy());
282 IRB.getVoidTy(), IRB.getInt8PtrTy());
289 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(),
290 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy);
290 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy);
292 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(),
293 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy);
293 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy);
295 M.getOrInsertFunction("memset", Attr, IRB.getInt8PtrTy(),
296 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy);
545 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy());
548 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()),
549 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())});
555 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()));
569 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()));
605 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()),
612 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()),
613 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()),
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 962 Type *DestInt8PtrTy = Builder.getInt8PtrTy(DestAS);
1097 StrStart, Builder.getInt8PtrTy(StrAS), Preheader->getTerminator());
1119 LdStart, Builder.getInt8PtrTy(LdAS), Preheader->getTerminator());
lib/Transforms/Scalar/SROA.cpp 1546 if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8))
1659 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()),
3094 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace());
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 819 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace());
lib/Transforms/Utils/BuildLibCalls.cpp 824 return B.CreateBitCast(V, B.getInt8PtrTy(AS), "cstr");
851 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI);
856 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(),
856 return emitLibCall(LibFunc_strdup, B.getInt8PtrTy(), B.getInt8PtrTy(),
862 Type *I8Ptr = B.getInt8PtrTy();
873 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
873 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
879 Type *I8Ptr = B.getInt8PtrTy();
886 Type *I8Ptr = B.getInt8PtrTy();
893 Type *I8Ptr = B.getInt8PtrTy();
900 Type *I8Ptr = B.getInt8PtrTy();
917 "__memcpy_chk", AttributeList::get(M->getContext(), AS), B.getInt8PtrTy(),
918 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context),
918 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context),
933 LibFunc_memchr, B.getInt8PtrTy(),
934 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)},
943 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
943 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
952 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
952 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
959 LibFunc_memccpy, B.getInt8PtrTy(),
960 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()},
960 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()},
970 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy()},
970 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy()},
980 {B.getInt8PtrTy(), B.getInt8PtrTy()}, Args, B, TLI,
980 {B.getInt8PtrTy(), B.getInt8PtrTy()}, Args, B, TLI,
986 return emitLibCall(LibFunc_strcat, B.getInt8PtrTy(),
987 {B.getInt8PtrTy(), B.getInt8PtrTy()},
987 {B.getInt8PtrTy(), B.getInt8PtrTy()},
994 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
994 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1001 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1001 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1007 return emitLibCall(LibFunc_strncat, B.getInt8PtrTy(),
1008 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1008 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1016 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy(), VAList->getType()},
1016 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy(), VAList->getType()},
1023 {B.getInt8PtrTy(), B.getInt8PtrTy(), VAList->getType()},
1023 {B.getInt8PtrTy(), B.getInt8PtrTy(), VAList->getType()},
1160 M->getOrInsertFunction(PutsName, B.getInt32Ty(), B.getInt8PtrTy());
1218 B.getInt8PtrTy(), File->getType());
1237 B.getInt8PtrTy(), File->getType());
1257 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(),
1280 FunctionCallee Malloc = M->getOrInsertFunction(MallocName, B.getInt8PtrTy(),
1302 CallocName, Attrs, B.getInt8PtrTy(), PtrType, PtrType);
1323 FWriteUnlockedName, DL.getIntPtrType(Context), B.getInt8PtrTy(),
1363 M->getOrInsertFunction(FGetSUnlockedName, B.getInt8PtrTy(),
1364 B.getInt8PtrTy(), B.getInt32Ty(), File->getType());
1385 FReadUnlockedName, DL.getIntPtrType(Context), B.getInt8PtrTy(),
lib/Transforms/Utils/ModuleUtils.cpp 31 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy());
46 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy())
47 : Constant::getNullValue(IRB.getInt8PtrTy());
lib/Transforms/Utils/SanitizerStats.cpp 45 PointerType *Int8PtrTy = B.getInt8PtrTy();
tools/clang/lib/CodeGen/CGBuiltin.cpp 3747 llvm::Type *GenericVoidPtrTy = Builder.getInt8PtrTy(
3926 llvm::Type *GenericVoidPtrTy = Builder.getInt8PtrTy(
3940 llvm::Type *GenericVoidPtrTy = Builder.getInt8PtrTy(
3955 llvm::Type *GenericVoidPtrTy = Builder.getInt8PtrTy(
tools/clang/lib/CodeGen/CGCoroutine.cpp 544 auto *NullPtr = llvm::ConstantPointerNull::get(Builder.getInt8PtrTy());
710 auto NullPtr = llvm::ConstantPointerNull::get(Builder.getInt8PtrTy());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 2988 CGF.Builder.getVoidTy(), {CGF.Builder.getInt8PtrTy()}, true);
3226 CGF.Builder.getVoidTy(), {CGF.Builder.getInt8PtrTy()}, true);
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1675 Address SrcPtr(Builder.CreateBitCast(NullVariable, Builder.getInt8PtrTy()),
tools/clang/lib/CodeGen/CodeGenPGO.cpp 934 llvm::ConstantExpr::getBitCast(FuncNameVar, Builder.getInt8PtrTy()),
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 606 llvm::Value *Ptr = Builder.CreateBitCast(This, Builder.getInt8PtrTy());
630 llvm::Type *VTableTy = Builder.getInt8PtrTy();
tools/polly/lib/CodeGen/LoopGenerators.cpp 188 Value *SubFnParam = Builder.CreateBitCast(Struct, Builder.getInt8PtrTy(),
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp 33 Builder.getVoidTy(), Builder.getInt8PtrTy(), false)),
34 Builder.getInt8PtrTy(),
62 FunctionType::get(Builder.getVoidTy(), {Builder.getInt8PtrTy()}, false);
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 82 Builder.getInt8PtrTy()};
459 Builder.getInt8PtrTy()};
tools/polly/lib/CodeGen/PerfMonitor.cpp 28 {Builder.getInt8PtrTy()}, false);
48 Builder.getInt8PtrTy());
52 ConstantPointerNull::get(Builder.getInt8PtrTy())));
247 Builder.CreatePointerCast(FinalReporting, Builder.getInt8PtrTy());
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 28 Builder.getInt32Ty(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()},
28 Builder.getInt32Ty(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()},
239 Data = Builder.CreateBitCast(Data, Builder.getInt8PtrTy());
277 FunctionType::get(Builder.getInt32Ty(), Builder.getInt8PtrTy(), false);
unittests/Analysis/MemorySSATest.cpp 76 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
114 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
204 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
248 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
298 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
334 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
380 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
424 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
479 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
524 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
885 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
924 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
969 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1097 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1097 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1139 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1139 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1221 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1334 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1334 {B.getInt8PtrTy(), B.getInt8PtrTy()},
1412 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1468 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
1540 FunctionType::get(B.getVoidTy(), {B.getInt8PtrTy()}, false),
unittests/Analysis/OrderedInstructionsTest.cpp 27 FunctionType::get(Type::getVoidTy(Ctx), {B.getInt8PtrTy()}, false);
unittests/Analysis/SparsePropagation.cpp 519 ConstantExpr::getCast(Instruction::BitCast, P, Builder.getInt8PtrTy());
unittests/IR/InstructionsTest.cpp 649 Value *GEPBase = Constant::getNullValue(B.getInt8PtrTy());
unittests/Transforms/Utils/FunctionComparatorTest.cpp 29 F = Function::Create(FunctionType::get(T, {B.getInt8PtrTy()}, false),