/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 108 llvm::Value *Alloca = CreateTempAlloca(AllocaTy); local 111 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1); 115 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx));
|
H A D | CGExpr.cpp | 68 auto Alloca = CreateTempAlloca(Ty, Name, ArraySize); local 69 Alloca->setAlignment(Align.getAsAlign()); 70 return Address(Alloca, Align); 79 auto Alloca = CreateTempAllocaWithoutCast(Ty, Align, Name, ArraySize); local 81 *AllocaAddr = Alloca; 82 llvm::Value *V = Alloca.getPointer(); 83 // Alloca always returns a pointer in alloca address space, which may 140 Address *Alloca) { 142 return CreateMemTemp(Ty, getContext().getTypeAlignInChars(Ty), Name, Alloca); 146 const Twine &Name, Address *Alloca) { 139 CreateMemTemp(QualType Ty, const Twine &Name, Address *Alloca) argument 145 CreateMemTemp(QualType Ty, CharUnits Align, const Twine &Name, Address *Alloca) argument 487 Address Alloca = Address::invalid(); local [all...] |
H A D | CGCall.cpp | 2491 Address Alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg), 2495 Address Ptr = emitAddressAtOffset(*this, Alloca, ArgI); 2511 CreateTempAlloca(STy, Alloca.getAlignment(), "coerce"); 2537 EmitLoadOfScalar(Alloca, false, Ty, Arg->getBeginLoc()); 2542 ArgVals.push_back(ParamValue::forIndirect(Alloca)); 2573 Address Alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg)); 2574 LValue LV = MakeAddrLValue(Alloca, Ty); 2575 ArgVals.push_back(ParamValue::forIndirect(Alloca));
|
H A D | CodeGenFunction.h | 2205 /// instruction is returned through \p Alloca if it is not nullptr. 2214 Address *Alloca = nullptr); 2239 void InitTempAlloca(Address Alloca, llvm::Value *Value); 2253 /// the original alloca instruction by \p Alloca if it is not nullptr. 2255 Address *Alloca = nullptr); 2257 Address *Alloca = nullptr);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineFrameInfo.h | 162 /// If this stack object is originated from an Alloca instruction 164 const AllocaInst *Alloca; member in struct:llvm::MachineFrameInfo::StackObject 185 bool IsImmutable, bool IsSpillSlot, const AllocaInst *Alloca, 189 Alloca(Alloca), isAliased(IsAliased), SSPLayout(SSPLK_None) {} 481 /// Return the underlying Alloca of the specified 486 return Objects[ObjectIdx+NumFixedObjects].Alloca; 738 const AllocaInst *Alloca = nullptr, uint8_t ID = 0); 742 const AllocaInst *Alloca = nullptr, 745 Alloca, I 184 StackObject(uint64_t Size, Align Alignment, int64_t SPOffset, bool IsImmutable, bool IsSpillSlot, const AllocaInst *Alloca, bool IsAliased, uint8_t StackID = 0) argument 767 CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca) argument [all...] |
H A D | WinEHFuncInfo.h | 65 const AllocaInst *Alloca; member in union:llvm::WinEHHandlerType::__anon1797
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 338 // coroutine frame and if the alignment specified on the Alloca instruction 1108 auto Alloca = Builder.CreateAlloca(Builder.getInt8Ty(), AI->getSize()); local 1109 Alloca->setAlignment(MaybeAlign(AI->getAlignment())); 1114 U->replaceAllUsesWith(Alloca); 1197 AllocaInst *Alloca, 1199 auto ValueTy = Alloca->getAllocatedType(); 1204 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); 1219 Builder.CreateStore(ValueAfterCall, Alloca); 1226 static void eliminateSwiftErrorAlloca(Function &F, AllocaInst *Alloca, argument 1228 for (auto UI = Alloca 1196 emitSetAndGetSwiftErrorValueAround(Instruction *Call, AllocaInst *Alloca, coro::Shape &Shape) argument 1268 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); local 1307 auto Alloca = dyn_cast<AllocaInst>(&Inst); local [all...] |
H A D | CoroSplit.cpp | 521 auto Alloca = Builder.CreateAlloca(ValueTy); 522 Alloca->setSwiftError(true); 524 CachedSlot = Alloca; 525 return Alloca;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineFrameInfo.cpp | 52 const AllocaInst *Alloca, 56 Objects.push_back(StackObject(Size, Alignment, 0, false, IsSpillSlot, Alloca, 74 const AllocaInst *Alloca) { 77 Objects.push_back(StackObject(0, Alignment, 0, false, false, Alloca, true)); 96 /*IsSpillSlot=*/false, /*Alloca=*/nullptr, 109 /*IsSpillSlot=*/true, /*Alloca=*/nullptr, 50 CreateStackObject(uint64_t Size, Align Alignment, bool IsSpillSlot, const AllocaInst *Alloca, uint8_t StackID) argument 73 CreateVariableSizedObject(Align Alignment, const AllocaInst *Alloca) argument
|
H A D | SwiftErrorValueTracking.cpp | 109 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(&Inst)) 110 if (Alloca->isSwiftError()) 111 SwiftErrorVals.push_back(Alloca);
|
H A D | MIRPrinter.cpp | 392 if (const auto *Alloca = MFI.getObjectAllocation(I)) 394 Alloca->hasName() ? Alloca->getName() : "<unnamed alloca>";
|
H A D | MachineOperand.cpp | 495 if (const AllocaInst *Alloca = MFI->getObjectAllocation(FrameIndex)) 496 if (Alloca->hasName()) 497 Name = Alloca->getName();
|
H A D | WinEHPrepare.cpp | 159 HT.CatchObj.Alloca = AI; 161 HT.CatchObj.Alloca = nullptr;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 102 /// Val is a derived pointer from Alloca. OpIdx0/OpIdx1 are the operand 106 bool binaryOpIsDerivedFromSameAlloca(Value *Alloca, Value *Val, 121 StringRef getPassName() const override { return "AMDGPU Promote Alloca"; } 360 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) { argument 367 Type *AT = Alloca->getAllocatedType(); 370 LLVM_DEBUG(dbgs() << "Alloca candidate for vectorization\n"); 386 for (User *AllocaUser : Alloca->users()) { 389 if (!canVectorizeInst(cast<Instruction>(AllocaUser), Alloca)) 434 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); 449 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrT [all...] |
H A D | AMDGPUTargetTransformInfo.cpp | 156 const AllocaInst *Alloca = local 158 if (!Alloca || !Alloca->isStaticAlloca()) 160 Type *Ty = Alloca->getAllocatedType();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | RewriteStatepointsForGC.cpp | 1641 Value *Alloca = AllocaMap[OriginalValue]; local 1651 cast<AllocaInst>(Alloca)->getAllocatedType(), 1654 StoreInst *Store = new StoreInst(CastedRelocatedValue, Alloca); 1675 Value *Alloca = AllocaMap[OriginalValue]; local 1677 StoreInst *Store = new StoreInst(RematerializedValue, Alloca); 1710 AllocaInst *Alloca = new AllocaInst(LiveValue->getType(), 1713 AllocaMap[LiveValue] = Alloca; 1714 PromotableAllocas.push_back(Alloca); 1770 AllocaInst *Alloca = Pair.second; local 1776 ToClobber.push_back(Alloca); 1802 AllocaInst *Alloca = Pair.second; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIRParser.cpp | 703 const AllocaInst *Alloca = nullptr; local 706 Alloca = dyn_cast_or_null<AllocaInst>( 708 if (!Alloca) 718 ObjectIdx = MFI.CreateVariableSizedObject(Object.Alignment, Alloca); 722 Object.Type == yaml::MachineStackObject::SpillSlot, Alloca,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Value.cpp | 769 auto *Alloca = dyn_cast<AllocaInst>(this); 770 if (!Alloca) 772 return Alloca->isSwiftError();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 2125 if (AllocaInst *Alloca = dyn_cast<AllocaInst>(Arg)) { 2126 for (User *U : Alloca->users()) { 2138 for (auto UI = Alloca->user_begin(), UE = Alloca->user_end(); UI != UE;) { 2154 Alloca->eraseFromParent();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ObjCARCInstKind.cpp | 250 case Instruction::Alloca:
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 117 if (const AllocaInst *AI = H.CatchObj.Alloca)
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRInterpreter.cpp | 415 // Fall back and allocate space [allocation type Alloca] 515 case Instruction::Alloca: 802 case Instruction::Alloca: { 813 // The semantics of Alloca are:
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 956 // Finds all Alloca instructions and puts 1020 /// Collect Alloca instructions we want (and can) handle. 2934 AllocaInst *Alloca; local 2936 Alloca = IRB.CreateAlloca(IRB.getInt8Ty(), 2940 Alloca = IRB.CreateAlloca(ArrayType::get(IRB.getInt8Ty(), L.FrameSize), 2942 assert(Alloca->isStaticAlloca()); 2946 Alloca->setAlignment(MaybeAlign(FrameAlignment)); 2947 return IRB.CreatePointerCast(Alloca, IntptrTy); 3121 // Replace Alloca instructions with base+offset.
|
H A D | HWAddressSanitizer.cpp | 1111 if (auto *Alloca = 1113 AllocaDbgMap[Alloca].push_back(DDI);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 800 case Instruction::Alloca: { 1033 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(SV)) { 1034 if (Alloca->isSwiftError()) 1165 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(PtrV)) { 1166 if (Alloca->isSwiftError())
|