reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Type.h
  454   static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);

References

examples/BrainF/BrainF.cpp
   70   Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) };
include/llvm/IR/IRBuilder.h
  437     return Type::getInt8PtrTy(Context, AddrSpace);
include/llvm/ProfileData/InstrProfData.inc
   85 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, \
  154 VALUE_PROF_FUNC_PARAM(void *, Data, Type::getInt8PtrTy(Ctx)) INSTR_PROF_COMMA
lib/Analysis/InstructionSimplify.cpp
 4880   Type *Int8PtrTy = Type::getInt8PtrTy(Ptr->getContext());
lib/Analysis/LoopAccessAnalysis.cpp
 2155   Type *PtrArithTy = Type::getInt8PtrTy(Ctx, AS);
 2230     Type *PtrArithTy0 = Type::getInt8PtrTy(Ctx, AS0);
 2231     Type *PtrArithTy1 = Type::getInt8PtrTy(Ctx, AS1);
lib/Analysis/MemoryBuiltins.cpp
  160   if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) &&
  455   if (FTy->getParamType(0) != Type::getInt8PtrTy(F->getContext()))
lib/Analysis/ScalarEvolution.cpp
 8080           Type *DestPtrTy = Type::getInt8PtrTy(C->getContext(), AS);
 8091             Type *DestPtrTy = Type::getInt8PtrTy(C->getContext(), AS);
lib/Analysis/ScalarEvolutionExpander.cpp
  509        Type::getInt8PtrTy(Ty->getContext(), PTy->getAddressSpace()));
  973           && IncV->getType() != Type::getInt8PtrTy(SE.getContext(), AS))
 1894         V = Builder.CreateBitCast(V, Type::getInt8PtrTy(SE.getContext(), AS));
lib/Analysis/TargetLibraryInfo.cpp
  637   Type *PCharTy = Type::getInt8PtrTy(Ctx);
lib/CodeGen/AtomicExpandPass.cpp
 1707                                         Type::getInt8PtrTy(Ctx, PtrTypeAS));
 1708   PtrVal = Builder.CreateAddrSpaceCast(PtrVal, Type::getInt8PtrTy(Ctx));
 1719                             Type::getInt8PtrTy(Ctx, AllocaAS));
 1735           Builder.CreateBitCast(AllocaValue, Type::getInt8PtrTy(Ctx));
 1748       Builder.CreateBitCast(AllocaResult, Type::getInt8PtrTy(Ctx, AllocaAS));
lib/CodeGen/CodeGenPrepare.cpp
 5333           Type::getInt8PtrTy(Ctx, GEP->getType()->getPointerAddressSpace());
lib/CodeGen/DwarfEHPrepare.cpp
  211                                           Type::getInt8PtrTy(Ctx), false);
  234   PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesLeft,
lib/CodeGen/GlobalISel/IRTranslator.cpp
  515   Type *PtrIRTy = Type::getInt8PtrTy(MF->getFunction().getContext());
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  406       OpTy = Type::getInt8PtrTy(Ctx, OpLLT.getAddressSpace());
lib/CodeGen/LowerEmuTLS.cpp
   86   PointerType *VoidPtrType = Type::getInt8PtrTy(C);
lib/CodeGen/SafeStack.cpp
  209         StackPtrTy(Type::getInt8PtrTy(F.getContext())),
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 6212   Entry.Ty = Type::getInt8PtrTy(*getContext());
 6316   Entry.Ty = Type::getInt8PtrTy(*getContext());
 6415   Entry.Node = Dst; Entry.Ty = Type::getInt8PtrTy(*getContext());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2517   unsigned Align = DL->getPrefTypeAlignment(Type::getInt8PtrTy(M.getContext()));
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 6825   PointerType *VoidPtrType = Type::getInt8PtrTy(*DAG.getContext());
lib/CodeGen/ShadowStackGCLowering.cpp
  103   Type *VoidPtr = Type::getInt8PtrTy(F.getContext());
lib/CodeGen/SjLjEHPrepare.cpp
   85   Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext());
  482       {Type::getInt8PtrTy(M.getContext(),
lib/CodeGen/StackProtector.cpp
  386   PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext());
  531         Type::getInt8PtrTy(Context));
lib/CodeGen/TargetLoweringBase.cpp
 1686   Type *StackPtrTy = Type::getInt8PtrTy(M->getContext());
 1716   Type *StackPtrTy = Type::getInt8PtrTy(M->getContext());
 1772     PointerType *PtrTy = Type::getInt8PtrTy(M.getContext());
 1782     new GlobalVariable(M, Type::getInt8PtrTy(M.getContext()), false,
lib/ExecutionEngine/ExecutionEngine.cpp
  346   Type *SBytePtr = Type::getInt8PtrTy(C);
  436   Type* PPInt8Ty = Type::getInt8PtrTy(Fn->getContext())->getPointerTo();
lib/IR/Constants.cpp
 1476 : Constant(Type::getInt8PtrTy(F->getContext()), Value::BlockAddressVal,
lib/IR/Instructions.cpp
  569   Type *BPTy = Type::getInt8PtrTy(BB->getContext());
  665   Type *IntPtrTy = Type::getInt8PtrTy(M->getContext());
lib/Target/AArch64/AArch64ISelLowering.cpp
12183     Addr = Builder.CreateBitCast(Addr, Type::getInt8PtrTy(M->getContext()));
12231     Addr = Builder.CreateBitCast(Addr, Type::getInt8PtrTy(M->getContext()));
12290                         Type::getInt8PtrTy(M.getContext()));
12295         Type::getInt8PtrTy(M.getContext()));
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
   35     Type *IntPtrTy = Type::getInt8PtrTy(*DAG.getContext());
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  416   auto Int8PtrTy = Type::getInt8PtrTy(Func.getContext(),
  850       Type::getInt8PtrTy(Func.getContext(), AMDGPUAS::GLOBAL_ADDRESS);
lib/Target/AMDGPU/SIISelLowering.cpp
 2864             MachinePointerInfo(UndefValue::get(Type::getInt8PtrTy(
lib/Target/ARM/ARMISelLowering.cpp
16541                       Type::getInt8PtrTy(M.getContext()));
16546       Type::getInt8PtrTy(M.getContext()));
16620     Addr = Builder.CreateBitCast(Addr, Type::getInt8PtrTy(M->getContext()));
16669     Addr = Builder.CreateBitCast(Addr, Type::getInt8PtrTy(M->getContext()));
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  892   auto *BCInst = new BitCastInst(Base, Type::getInt8PtrTy(BB->getContext()));
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  345   Type *I8PtrTy = Type::getInt8PtrTy(MemI->getParent()->getContext(),
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  257                             PointerType::get(Type::getInt8PtrTy(C), 0)};
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  356   PointerType *Int8PtrTy = Type::getInt8PtrTy(M.getContext());
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  106   PointerType *VoidStar = Type::getInt8PtrTy(C);
lib/Target/X86/X86ISelLowering.cpp
 2295       Type::getInt8PtrTy(IRB.getContext())->getPointerTo(AddressSpace));
 2323                         Type::getInt8PtrTy(M.getContext()));
 2328         Type::getInt8PtrTy(M.getContext()));
18033   Value *Ptr = Constant::getNullValue(Type::getInt8PtrTy(*DAG.getContext(),
18176                                         ? Type::getInt8PtrTy(*DAG.getContext(),
lib/Target/X86/X86WinEHState.cpp
  174   Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext());
  220       Type::getInt8PtrTy(Context) // EXCEPTION_DISPOSITION (*Handler)(...)
  237       Type::getInt8PtrTy(Context), // void *SavedESP
  259       Type::getInt8PtrTy(Context), // void *SavedESP
  260       Type::getInt8PtrTy(Context), // void *ExceptionPointers
  377   Value *FI8 = Builder.CreateBitCast(F, Type::getInt8PtrTy(F->getContext()));
  392   Type *Int8PtrType = Type::getInt8PtrTy(Context);
lib/Target/XCore/XCoreISelLowering.cpp
  297     Type *Ty = Type::getInt8PtrTy(*DAG.getContext());
lib/Transforms/CFGuard/CFGuard.cpp
  239                                   {Type::getInt8PtrTy(M.getContext())}, false);
lib/Transforms/Coroutines/CoroElide.cpp
  132       new BitCastInst(Frame, Type::getInt8PtrTy(C), "vFrame", InsertPt);
lib/Transforms/Coroutines/CoroInstr.h
  127                   ConstantPointerNull::get(Type::getInt8PtrTy(getContext())));
  188     auto *const Int8PtrTy = Type::getInt8PtrTy(getContext());
lib/Transforms/Coroutines/CoroSplit.cpp
  734       NewFramePtr, Type::getInt8PtrTy(Builder.getContext()), "vFrame");
  837   auto *BC = ConstantExpr::getPointerCast(GV, Type::getInt8PtrTy(C));
 1399   auto *Null = ConstantPointerNull::get(Type::getInt8PtrTy(Context));
 1403                                          {Type::getInt8PtrTy(Context)}, false);
 1419   auto *FnTy = FunctionType::get(Type::getVoidTy(C), Type::getInt8PtrTy(C),
lib/Transforms/Coroutines/Coroutines.cpp
   96       Int8Ptr(Type::getInt8PtrTy(Context)),
  176       Elide ? ConstantPointerNull::get(Type::getInt8PtrTy(CoroId->getContext()))
  328     auto *Undef = UndefValue::get(Type::getInt8PtrTy(F.getContext()));
lib/Transforms/IPO/CrossDSOCFI.cpp
  106       Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx));
  106       Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx));
  133                             Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx));
  133                             Type::getInt8PtrTy(Ctx), Type::getInt8PtrTy(Ctx));
lib/Transforms/IPO/GlobalOpt.cpp
 2607   PointerType *Int8PtrTy = Type::getInt8PtrTy(V.getContext(), 0);
lib/Transforms/IPO/LowerTypeTests.cpp
  391   PointerType *Int8PtrTy = Type::getInt8PtrTy(M.getContext());
lib/Transforms/IPO/WholeProgramDevirt.cpp
  479         Int8PtrTy(Type::getInt8PtrTy(M.getContext())),
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  523       ArgTypes.push_back(Type::getInt8PtrTy(*Ctx));
  574       Type::getVoidTy(*Ctx), Type::getInt8PtrTy(*Ctx), /*isVarArg=*/false);
  575   Type *DFSanSetLabelArgs[3] = { ShadowTy, Type::getInt8PtrTy(*Ctx), IntptrTy };
  581       Type::getVoidTy(*Ctx), Type::getInt8PtrTy(*Ctx), /*isVarArg=*/false);
 1485                  {ValShadow, IRB.CreateBitCast(I.getDest(), Type::getInt8PtrTy(
 1497   Type *Int8Ptr = Type::getInt8PtrTy(*DFSF.DFS.Ctx);
 1605                 IRB.CreateBitCast(*i, Type::getInt8PtrTy(*DFSF.DFS.Ctx)));
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  887     Type::getInt8PtrTy(*Ctx),  // const char *orig_filename
  888     Type::getInt8PtrTy(*Ctx),  // const char version[4]
  902     Type::getInt8PtrTy(*Ctx),  // const char *function_name
lib/Transforms/Instrumentation/InstrProfiling.cpp
  792   auto *Int8PtrTy = Type::getInt8PtrTy(Ctx);
  813           ConstantExpr::getBitCast(ValuesVar, Type::getInt8PtrTy(Ctx));
  947   auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext());
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  819   Type *I8PtrTy = Type::getInt8PtrTy(M->getContext());
lib/Transforms/Scalar/ConstantHoisting.cpp
  743       PointerType *Int8PtrTy = Type::getInt8PtrTy(*Ctx,
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  308       Type *I8Ptr = Type::getInt8PtrTy(BB->getContext(), PtrAddrSpace);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1295     Type *NewTy = Type::getInt8PtrTy(M->getContext(), AS);
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
 1094     Type *I8PtrTy = Type::getInt8PtrTy(GEP->getContext(),
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  672         Type *CharTy = Type::getInt8PtrTy(Basis.Ins->getContext(), AS);
lib/Transforms/Utils/CodeExtractor.cpp
 1011   auto Int8PtrTy = Type::getInt8PtrTy(Ctx);
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   40     Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)};
   40     Type *ArgTypes[] = {Type::getInt8PtrTy(C), Type::getInt8PtrTy(C)};
   51     Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)),
lib/Transforms/Utils/EscapeEnumerator.cpp
   69   Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C));
lib/Transforms/Utils/InlineFunction.cpp
 1326   Type *Int8PtrTy = Type::getInt8PtrTy(Ty->getContext(),
lib/Transforms/Utils/ModuleUtils.cpp
   85   Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext());
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
   87       if (BCI->getType() != Type::getInt8PtrTy(U->getContext(), AS))
   92       if (GEPI->getType() != Type::getInt8PtrTy(U->getContext(), AS))
lib/Transforms/Utils/SanitizerStats.cpp
   25   StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2);
   37   return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()),
   77   PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext());
lib/Transforms/Utils/VNCoercion.cpp
  332       ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS));
  508       ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS));
tools/bugpoint/Miscompilation.cpp
  830       "getPointerToNamedFunction", Type::getInt8PtrTy(Safe->getContext()),
  831       Type::getInt8PtrTy(Safe->getContext()));
tools/clang/lib/CodeGen/CGBlocks.cpp
  193       llvm::Type::getInt8PtrTy(
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1850         LLVMIntTy, {llvm::Type::getInt8PtrTy(getLLVMContext())}, true);
tools/clang/lib/CodeGen/CGClass.cpp
  982         llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace());
  987         llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace());
tools/clang/lib/CodeGen/CGDecl.cpp
 1133   llvm::Type *BP = llvm::PointerType::getInt8PtrTy(CGM.getLLVMContext(),
tools/clang/lib/CodeGen/CGExpr.cpp
   56     destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace);
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
   24   llvm::Type *ArgTypes[] = {llvm::Type::getInt8PtrTy(M.getContext()),
   25                             llvm::Type::getInt8PtrTy(M.getContext())};
   96     BufferPtr = llvm::ConstantPointerNull::get(llvm::Type::getInt8PtrTy(Ctx));
  115     BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx));
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
  120   return llvm::IntegerType::getInt8PtrTy(
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  900   auto *I8PtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext());
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  493       ResultType = llvm::Type::getInt8PtrTy(getLLVMContext());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1342         llvm::ConstantExpr::getBitCast(NamePtr, llvm::Type::getInt8PtrTy(Ctx)));
 1451     auto NamesArrTy = llvm::ArrayType::get(llvm::Type::getInt8PtrTy(Ctx),
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
   74     switch (M.getDataLayout().getPointerTypeSize(Type::getInt8PtrTy(C))) {
   92       EntryTy = StructType::create("__tgt_offload_entry", Type::getInt8PtrTy(C),
   93                                    Type::getInt8PtrTy(C), getSizeTTy(),
  108       ImageTy = StructType::create("__tgt_device_image", Type::getInt8PtrTy(C),
  109                                    Type::getInt8PtrTy(C), getEntryPtrTy(),
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
  184         MValType(Type::getInt8PtrTy(Compiler.Context)),
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
  281       m_i8ptr_ty = llvm::Type::getInt8PtrTy(m_module.getContext());
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  421   Type *i8_ptr_ty = Type::getInt8PtrTy(m_module->getContext());
  852     Type *sel_ptr_type = Type::getInt8PtrTy(m_module->getContext());
  856     type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext());
  874       _objc_meth_var_name_, Type::getInt8PtrTy(m_module->getContext()));
 1007     type_array[0] = llvm::Type::getInt8PtrTy(m_module->getContext());
 1025       _objc_class_name_, Type::getInt8PtrTy(m_module->getContext()));
tools/llvm-stress/llvm-stress.cpp
  158     Type::getInt8PtrTy(Context),
tools/polly/lib/Analysis/ScopBuilder.cpp
 1350   if (ArrMemberTys[0] != Type::getInt8PtrTy(V->getContext()))
tools/polly/lib/Analysis/ScopDetection.cpp
 1081         SE.getEffectiveSCEVType(PointerType::getInt8PtrTy(SE.getContext()));
unittests/Analysis/CGSCCPassManagerTest.cpp
 1173                                           Type::getInt8PtrTy(H2F.getContext()),
unittests/Analysis/MemoryBuiltinsTest.cpp
   29       FunctionType::get(Type::getInt8PtrTy(Context), {ArgTy}, false),
unittests/Analysis/ScalarEvolutionTest.cpp
  149   auto *I8PtrTy = Type::getInt8PtrTy(Context);
  689   Type *I8PtrTy = Type::getInt8PtrTy(Context);
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
   35             {IntTy, Type::getInt8PtrTy(Context)->getPointerTo()},
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
  100                          Type::getInt8PtrTy(Ctx)->getPointerTo()},
unittests/FuzzMutate/OperationsTest.cpp
  282   Type *Int8PtrTy = Type::getInt8PtrTy(Ctx);
  332   Type *Int8PtrTy = Type::getInt8PtrTy(Ctx);
unittests/IR/ConstantsTest.cpp
  131   Type *Int8PtrTy = Type::getInt8PtrTy(C);
unittests/Linker/LinkModulesTest.cpp
   31         Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/);
   40     AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);
   55                                              Type::getInt8PtrTy(Ctx));
   97   Builder.CreateRet(ConstantPointerNull::get(Type::getInt8PtrTy(Ctx)));
  112   ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);
  136       Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/);
  151       Type::getVoidTy(Ctx), Type::getInt8PtrTy(Ctx), false /*=isVarArgs*/);