| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | MachineFrameInfo.h | 164 const AllocaInst *Alloca; member 185 bool IsImmutable, bool IsSpillSlot, const AllocaInst *Alloca, 189 StackID(StackID), Alloca(Alloca), isAliased(IsAliased), in SPOffset() 482 return Objects[ObjectIdx+NumFixedObjects].Alloca; in getObjectAllocation() 728 const AllocaInst *Alloca = nullptr, uint8_t ID = 0); 743 int CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca);
|
| H A D | WinEHFuncInfo.h | 66 const AllocaInst *Alloca; member
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGGPUBuiltin.cpp | 109 llvm::Value *Alloca = CreateTempAlloca(AllocaTy); in EmitNVPTXDevicePrintfCallExpr() local 112 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1); in EmitNVPTXDevicePrintfCallExpr() 116 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitNVPTXDevicePrintfCallExpr()
|
| H A D | CGExpr.cpp | 68 auto Alloca = CreateTempAlloca(Ty, Name, ArraySize); in CreateTempAllocaWithoutCast() local 69 Alloca->setAlignment(Align.getQuantity()); in CreateTempAllocaWithoutCast() 70 return Address(Alloca, Align); in CreateTempAllocaWithoutCast() 81 *AllocaAddr = Alloca; in CreateTempAlloca() 82 llvm::Value *V = Alloca.getPointer(); in CreateTempAlloca() 140 Address *Alloca) { in CreateMemTemp() argument 148 /*ArraySize=*/nullptr, Alloca); in CreateMemTemp() 406 return CGF.CreateMemTemp(Ty, "ref.tmp", Alloca); in createReferenceTemporary() 487 Address Alloca = Address::invalid(); in EmitMaterializeTemporaryExpr() local 507 Alloca.getPointer())) { in EmitMaterializeTemporaryExpr() [all …]
|
| H A D | CGCall.cpp | 2468 Address Alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg), in EmitFunctionProlog() local 2472 Address Ptr = emitAddressAtOffset(*this, Alloca, ArgI); in EmitFunctionProlog() 2489 CreateTempAlloca(STy, Alloca.getAlignment(), "coerce"); in EmitFunctionProlog() 2517 EmitLoadOfScalar(Alloca, false, Ty, Arg->getBeginLoc()); in EmitFunctionProlog() 2522 ArgVals.push_back(ParamValue::forIndirect(Alloca)); in EmitFunctionProlog() 2554 Address Alloca = CreateMemTemp(Ty, getContext().getDeclAlign(Arg)); in EmitFunctionProlog() local 2555 LValue LV = MakeAddrLValue(Alloca, Ty); in EmitFunctionProlog() 2556 ArgVals.push_back(ParamValue::forIndirect(Alloca)); in EmitFunctionProlog()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineFrameInfo.cpp | 52 const AllocaInst *Alloca, in CreateStackObject() argument 56 Objects.push_back(StackObject(Size, Alignment, 0, false, IsSpillSlot, Alloca, in CreateStackObject() 74 const AllocaInst *Alloca) { in CreateVariableSizedObject() argument 77 Objects.push_back(StackObject(0, Alignment, 0, false, false, Alloca, true)); in CreateVariableSizedObject()
|
| H A D | MIRPrinter.cpp | 383 if (const auto *Alloca = MFI.getObjectAllocation(I)) in convertStackObjects() local 385 Alloca->hasName() ? Alloca->getName() : "<unnamed alloca>"; in convertStackObjects()
|
| H A D | MachineOperand.cpp | 501 if (const AllocaInst *Alloca = MFI->getObjectAllocation(FrameIndex)) in printFrameIndex() local 502 if (Alloca->hasName()) in printFrameIndex() 503 Name = Alloca->getName(); in printFrameIndex()
|
| H A D | WinEHPrepare.cpp | 158 HT.CatchObj.Alloca = AI; in addTryBlockMapEntry() 160 HT.CatchObj.Alloca = nullptr; in addTryBlockMapEntry()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 105 bool binaryOpIsDerivedFromSameAlloca(Value *Alloca, Value *Val, 355 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) { in tryPromoteAllocaToVector() argument 362 Type *AT = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 381 for (User *AllocaUser : Alloca->users()) { in tryPromoteAllocaToVector() 384 if (!canVectorizeInst(cast<Instruction>(AllocaUser), Alloca)) in tryPromoteAllocaToVector() 429 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector() 444 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 154 const AllocaInst *Alloca = in getUnrollingPreferences() local 156 if (!Alloca || !Alloca->isStaticAlloca()) in getUnrollingPreferences() 158 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 1648 Value *Alloca = AllocaMap[OriginalValue]; in insertRelocationStores() local 1682 Value *Alloca = AllocaMap[OriginalValue]; in insertRematerializationStores() local 1717 AllocaInst *Alloca = new AllocaInst(LiveValue->getType(), in relocationViaAlloca() local 1720 AllocaMap[LiveValue] = Alloca; in relocationViaAlloca() 1721 PromotableAllocas.push_back(Alloca); in relocationViaAlloca() 1777 AllocaInst *Alloca = cast<AllocaInst>(Pair.second); in relocationViaAlloca() local 1783 ToClobber.push_back(Alloca); in relocationViaAlloca() 1809 Value *Alloca = Pair.second; in relocationViaAlloca() local 1843 LoadInst *Load = new LoadInst(Alloca, "", Use); in relocationViaAlloca() 1851 StoreInst *Store = new StoreInst(Def, Alloca); in relocationViaAlloca() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 629 const AllocaInst *Alloca = nullptr; in initializeFrameInfo() local 632 Alloca = dyn_cast_or_null<AllocaInst>( in initializeFrameInfo() 634 if (!Alloca) in initializeFrameInfo() 641 ObjectIdx = MFI.CreateVariableSizedObject(Object.Alignment, Alloca); in initializeFrameInfo() 645 Object.Type == yaml::MachineStackObject::SpillSlot, Alloca); in initializeFrameInfo()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Value.cpp | 730 auto *Alloca = dyn_cast<AllocaInst>(this); in isSwiftError() local 731 if (!Alloca) in isSwiftError() 733 return Alloca->isSwiftError(); in isSwiftError()
|
| H A D | Instruction.cpp | 329 case Alloca: return "alloca"; in getOpcodeName()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 1954 if (AllocaInst *Alloca = dyn_cast<AllocaInst>(Arg)) { in OptimizeWeakCalls() local 1955 for (User *U : Alloca->users()) { in OptimizeWeakCalls() 1967 for (auto UI = Alloca->user_begin(), UE = Alloca->user_end(); UI != UE;) { in OptimizeWeakCalls() 1983 Alloca->eraseFromParent(); in OptimizeWeakCalls()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Instruction.def | 171 HANDLE_MEMORY_INST(30, Alloca, AllocaInst) // Stack management
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 2819 AllocaInst *Alloca; in createAllocaForLayout() local 2821 Alloca = IRB.CreateAlloca(IRB.getInt8Ty(), in createAllocaForLayout() 2825 Alloca = IRB.CreateAlloca(ArrayType::get(IRB.getInt8Ty(), L.FrameSize), in createAllocaForLayout() 2827 assert(Alloca->isStaticAlloca()); in createAllocaForLayout() 2831 Alloca->setAlignment(FrameAlignment); in createAllocaForLayout() 2832 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ObjCARCInstKind.cpp | 251 case Instruction::Alloca: in GetARCInstKind()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMFastISel.cpp | 803 case Instruction::Alloca: { in ARMComputeAddress() 1035 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(SV)) { in SelectLoad() local 1036 if (Alloca->isSwiftError()) in SelectLoad() 1166 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(PtrV)) { in SelectStore() local 1167 if (Alloca->isSwiftError()) in SelectStore()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 116 if (const AllocaInst *AI = H.CatchObj.Alloca) in set()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 520 case Instruction::Alloca: in CanInterpret() 815 case Instruction::Alloca: { in Interpret()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 886 case Instruction::Alloca: { in X86SelectAddress() 1131 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(PtrV)) { in X86SelectStore() local 1132 if (Alloca->isSwiftError()) in X86SelectStore() 1320 if (const AllocaInst *Alloca = dyn_cast<AllocaInst>(SV)) { in X86SelectLoad() local 1321 if (Alloca->isSwiftError()) in X86SelectLoad()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1005 const AllocaInst *Alloca, in foldAllocaCmp() argument 1026 for (const Use &U : Alloca->uses()) { in foldAllocaCmp() 4876 if (auto *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Op0, DL))) in visitICmpInst() local 4877 if (Instruction *New = foldAllocaCmp(I, Alloca, Op1)) in visitICmpInst() 4879 if (auto *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Op1, DL))) in visitICmpInst() local 4880 if (Instruction *New = foldAllocaCmp(I, Alloca, Op0)) in visitICmpInst()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 1934 AllocaInst *Alloca = new AllocaInst(ElemTy, DL.getAllocaAddrSpace(), nullptr, in processInternalGlobal() local 1937 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal() 1941 GV->replaceAllUsesWith(Alloca); in processInternalGlobal()
|