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

References

include/llvm/CodeGen/TargetLowering.h
  258     return getPointerTy(DL, DL.getAllocaAddrSpace());
include/llvm/IR/IRBuilder.h
 1586     return Insert(new AllocaInst(Ty, DL.getAllocaAddrSpace(), ArraySize), Name);
include/llvm/Target/TargetMachine.h
  180     return DL.getPointerSize(DL.getAllocaAddrSpace());
lib/Analysis/InlineCost.cpp
 2028   unsigned AllocaAS = Callee->getParent()->getDataLayout().getAllocaAddrSpace();
lib/Analysis/ValueTracking.cpp
 2060     if (isa<AllocaInst>(V) && Q.DL.getAllocaAddrSpace() == 0)
lib/Bitcode/Reader/BitcodeReader.cpp
 4762       unsigned AS = DL.getAllocaAddrSpace();
lib/CodeGen/MachineOperand.cpp
 1013   return MachinePointerInfo(MF.getDataLayout().getAllocaAddrSpace());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1793                         DAG.getDataLayout().getAllocaAddrSpace()),
 3961   EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout(), DL.getAllocaAddrSpace());
 9033                                               DL.getAllocaAddrSpace());
 9294     Type *PtrRetTy = OrigRetTy->getPointerTo(DL.getAllocaAddrSpace());
 9591                         DAG.getDataLayout().getAllocaAddrSpace()),
 9757                         DAG.getDataLayout().getAllocaAddrSpace()),
lib/CodeGen/SjLjEHPrepare.cpp
  179   FuncCtx = new AllocaInst(FunctionContextTy, DL.getAllocaAddrSpace(), nullptr,
  483                           M.getDataLayout().getAllocaAddrSpace())});
lib/CodeGen/WinEHPrepare.cpp
 1079     SpillSlot = new AllocaInst(PN->getType(), DL->getAllocaAddrSpace(), nullptr,
 1166     SpillSlot = new AllocaInst(V->getType(), DL->getAllocaAddrSpace(), nullptr,
lib/IR/Verifier.cpp
 3466   Assert(PTy->getAddressSpace() == DL.getAllocaAddrSpace(),
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  193   if (!ArgTy || (ArgTy->getAddressSpace() != DL->getAllocaAddrSpace() &&
lib/Target/NVPTX/NVPTXLowerArgs.cpp
  162   unsigned AS = Func->getParent()->getDataLayout().getAllocaAddrSpace();
lib/Target/X86/X86WinEHState.cpp
  345                   TheModule->getDataLayout().getAllocaAddrSpace())),
lib/Transforms/Coroutines/CoroElide.cpp
  130   auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt);
lib/Transforms/IPO/ArgumentPromotion.cpp
  390           new AllocaInst(AgTy, DL.getAllocaAddrSpace(), nullptr,
lib/Transforms/IPO/GlobalOpt.cpp
 1951     AllocaInst *Alloca = new AllocaInst(ElemTy, DL.getAllocaAddrSpace(), nullptr,
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1620               LabelVATy, getDataLayout().getAllocaAddrSpace(),
 1635                              getDataLayout().getAllocaAddrSpace(),
 1725         new AllocaInst(VarArgArrayTy, getDataLayout().getAllocaAddrSpace(),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  840       IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
  976         IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  893         IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1710                                         DL.getAllocaAddrSpace(), "",
lib/Transforms/Scalar/SROA.cpp
  787         LI.getPointerAddressSpace() != DL.getAllocaAddrSpace())
  802         SI.getPointerAddressSpace() != DL.getAllocaAddrSpace())
  841     if (II.isVolatile() && II.getDestAddressSpace() != DL.getAllocaAddrSpace())
  866         (II.getDestAddressSpace() != DL.getAllocaAddrSpace() ||
  867          II.getSourceAddressSpace() != DL.getAllocaAddrSpace()))
lib/Transforms/Utils/CodeExtractor.cpp
 1093         new AllocaInst(output->getType(), DL.getAllocaAddrSpace(),
 1111     Struct = new AllocaInst(StructArgTy, DL.getAllocaAddrSpace(), nullptr,
lib/Transforms/Utils/DemoteRegToStack.cpp
   36     Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr,
   39     Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr,
  121     Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr,
  125     Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr,
lib/Transforms/Utils/InlineFunction.cpp
 1304       new AllocaInst(AggTy, DL.getAllocaAddrSpace(), nullptr, Alignment,
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
 1022     if (S0->getPointerAddressSpace() != DL.getAllocaAddrSpace()) {
 1165     if (L0->getPointerAddressSpace() != DL.getAllocaAddrSpace()) {
tools/clang/lib/Basic/Targets/AMDGPU.cpp
  272   assert(DataLayout->getAllocaAddrSpace() == Private);
tools/clang/lib/CodeGen/CGCall.cpp
 1625           CGM.getDataLayout().getAllocaAddrSpace());
 3838       AI = new llvm::AllocaInst(ArgStruct, DL.getAllocaAddrSpace(),
 3963                     TD->getAllocaAddrSpace()) &&
 4018               CGM.getDataLayout().getAllocaAddrSpace());
tools/clang/lib/CodeGen/CGDecl.cpp
 1292              CGM.getDataLayout().getAllocaAddrSpace() &&
 1304              CGM.getDataLayout().getAllocaAddrSpace() &&
 2388              CGM.getDataLayout().getAllocaAddrSpace());
tools/clang/lib/CodeGen/CGExpr.cpp
  111   return new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(),
tools/clang/lib/CodeGen/CodeGenModule.cpp
  125       M.getDataLayout().getAllocaAddrSpace());
tools/clang/lib/CodeGen/TargetInfo.cpp
 7902         getABIInfo().getDataLayout().getAllocaAddrSpace());
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
  173       func->getReturnType(), DL.getAllocaAddrSpace(), "var_vector_return_alloc",
  185         new llvm::AllocaInst(new_func_ptr_type, DL.getAllocaAddrSpace(),
tools/llvm-stress/llvm-stress.cpp
  473     PT->push_back(new AllocaInst(Tp, DL.getAllocaAddrSpace(),
tools/polly/lib/CodeGen/BlockGenerators.cpp
  514   Addr = new AllocaInst(Ty, DL.getAllocaAddrSpace(),
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
 1398   auto *Alloca = new AllocaInst(AccInstTy, DL.getAllocaAddrSpace(),
 1498       auto *CreatedArray = new AllocaInst(NewArrayType, DL.getAllocaAddrSpace(),
tools/polly/lib/CodeGen/LoopGenerators.cpp
  232   AllocaInst *Struct = new AllocaInst(Ty, DL.getAllocaAddrSpace(), nullptr,
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
  189       T, DL.getAllocaAddrSpace(), "polly.vprint.buffer",
unittests/Analysis/ScalarEvolutionTest.cpp
  175   AllocaInst *Alloca = new AllocaInst(I32Ty, DL.getAllocaAddrSpace(),