Home
last modified time | relevance | path

Searched refs:AllocInfo (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h79 struct AllocInfo { struct
87 AllocInfo() = delete;
89 constexpr AllocInfo(const HungOffOperandsAllocMarker) in AllocInfo() argument
92 constexpr AllocInfo(const IntrusiveOperandsAllocMarker Alloc) in AllocInfo() argument
95 constexpr AllocInfo(const IntrusiveOperandsAndDescriptorAllocMarker Alloc) in AllocInfo() argument
119 User(Type *ty, unsigned vty, AllocInfo AllocInfo) : Value(ty, vty) { in User() argument
120 assert(AllocInfo.NumOps < (1u << NumUserOperandsBits) && in User()
122 NumUserOperands = AllocInfo.NumOps; in User()
123 assert((!AllocInfo.HasDescriptor || !AllocInfo.HasHungOffUses) && in User()
125 HasHungOffUses = AllocInfo.HasHungOffUses; in User()
[all …]
H A DDerivedUser.h37 DerivedUser(Type *Ty, unsigned VK, AllocInfo AllocInfo, in DerivedUser() argument
39 : User(Ty, VK, AllocInfo), DeleteValue(DeleteValue) {} in DerivedUser()
H A DConstant.h45 Constant(Type *ty, ValueTy vty, AllocInfo AllocInfo) in Constant() argument
46 : User(ty, vty, AllocInfo) {} in Constant()
H A DInstructions.h953 GetElementPtrInst(const GetElementPtrInst &GEPI, AllocInfo AllocInfo);
960 ArrayRef<Value *> IdxList, AllocInfo AllocInfo,
1158 AllocInfo AllocInfo, const Twine &NameStr,
1160 : Instruction(getGEPReturnType(Ptr, IdxList), GetElementPtr, AllocInfo,
1511 CallInst(const CallInst &CI, AllocInfo AllocInfo);
1516 AllocInfo AllocInfo, InsertPosition InsertBefore);
1519 const Twine &NameStr, AllocInfo AllocInfo,
1521 : CallInst(Ty, Func, Args, {}, NameStr, AllocInfo, InsertBefore) {}
1524 AllocInfo AllocInfo, InsertPosition InsertBefore);
1675 AllocInfo AllocInfo, InsertPosition InsertBefore)
[all …]
H A DGlobalObject.h44 GlobalObject(Type *Ty, ValueTy VTy, AllocInfo AllocInfo, LinkageTypes Linkage,
46 : GlobalValue(Ty, VTy, AllocInfo, Linkage, Name, AddressSpace) { in GlobalValue() argument
H A DConstants.h411 AllocInfo AllocInfo);
437 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val, AllocInfo AllocInfo);
469 ConstantStruct(StructType *T, ArrayRef<Constant *> Val, AllocInfo AllocInfo);
521 ConstantVector(VectorType *T, ArrayRef<Constant *> Val, AllocInfo AllocInfo);
1128 ConstantExpr(Type *ty, unsigned Opcode, AllocInfo AllocInfo)
1129 : Constant(ty, ConstantExprVal, AllocInfo) {
H A DGlobalValue.h81 GlobalValue(Type *Ty, ValueTy VTy, AllocInfo AllocInfo, LinkageTypes Linkage, in GlobalValue() argument
84 AllocInfo), in GlobalValue()
H A DModuleSummaryIndex.h388 struct AllocInfo {
410 AllocInfo(std::vector<MIBInfo> MIBs) : MIBs(std::move(MIBs)) {
413 AllocInfo(SmallVector<uint8_t> Versions, std::vector<MIBInfo> MIBs)
417 inline raw_ostream &operator<<(raw_ostream &OS, const AllocInfo &AE) {
872 std::vector<CallsiteInfo>(), std::vector<AllocInfo>());
913 using AllocsTy = std::vector<AllocInfo>;
1058 ArrayRef<AllocInfo> allocs() const {
H A DInstruction.h1093 LLVM_ABI Instruction(Type *Ty, unsigned iType, AllocInfo AllocInfo,
H A DInstrTypes.h2360 FuncletPadInst(const FuncletPadInst &CPI, AllocInfo AllocInfo);
2364 AllocInfo AllocInfo, const Twine &NameStr,
H A DModuleSummaryIndexYAML.h257 ArrayRef<AllocInfo>{}));
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfUse.cpp117 const AllocationInfo *AllocInfo, in addCallStack() argument
120 for (const auto &StackFrame : AllocInfo->CallStack) in addCallStack()
122 auto AllocType = getAllocType(AllocInfo->Info.getTotalLifetimeAccessDensity(), in addCallStack()
123 AllocInfo->Info.getAllocCount(), in addCallStack()
124 AllocInfo->Info.getTotalLifetime()); in addCallStack()
127 auto TotalSize = AllocInfo->Info.getTotalSize(); in addCallStack()
563 for (auto *AllocInfo : AllocInfoIter->second) { in readMemprof() local
567 if (stackFrameIncludesInlinedCallStack(AllocInfo->CallStack, in readMemprof()
572 FullStackId = computeFullStackId(AllocInfo->CallStack); in readMemprof()
573 auto AllocType = addCallStack(AllocTrie, AllocInfo, FullStackId); in readMemprof()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp24 std::vector<MemoryMapper::AllocInfo::SegInfo> Segs) in InFlightAlloc()
28 MemoryMapper::AllocInfo AI; in finalize()
53 std::vector<MemoryMapper::AllocInfo::SegInfo> Segs;
84 std::vector<MemoryMapper::AllocInfo::SegInfo> SegInfos; in allocate()
97 MemoryMapper::AllocInfo::SegInfo SI; in allocate()
H A DMemoryMapper.cpp65 void InProcessMemoryMapper::initialize(MemoryMapper::AllocInfo &AI, in initialize()
337 void SharedMemoryMapper::initialize(MemoryMapper::AllocInfo &AI, in initialize()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMemoryMapper.h31 struct AllocInfo { struct
64 virtual void initialize(AllocInfo &AI, argument
93 void initialize(AllocInfo &AI, OnInitializedFunction OnInitialized) override;
147 void initialize(AllocInfo &AI, OnInitializedFunction OnInitialized) override;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp787 AllocInfo AllocInfo, InsertPosition InsertBefore) in CallInst() argument
788 : CallBase(Ty->getReturnType(), Instruction::Call, AllocInfo, in CallInst()
793 CallInst::CallInst(const CallInst &CI, AllocInfo AllocInfo) in CallInst() argument
794 : CallBase(CI.Attrs, CI.FTy, CI.getType(), Instruction::Call, AllocInfo) { in CallInst()
874 InvokeInst::InvokeInst(const InvokeInst &II, AllocInfo AllocInfo) in InvokeInst() argument
875 : CallBase(II.Attrs, II.FTy, II.getType(), Instruction::Invoke, AllocInfo) { in InvokeInst()
958 CallBrInst::CallBrInst(const CallBrInst &CBI, AllocInfo AllocInfo) in CallBrInst() argument
960 AllocInfo) { in CallBrInst()
990 ReturnInst::ReturnInst(const ReturnInst &RI, AllocInfo AllocInfo) in ReturnInst() argument
992 AllocInfo) { in ReturnInst()
[all …]
H A DConstants.cpp1293 AllocInfo AllocInfo) in ConstantAggregate() argument
1294 : Constant(T, VT, AllocInfo) { in ConstantAggregate()
1308 AllocInfo AllocInfo) in ConstantArray() argument
1309 : ConstantAggregate(T, ConstantArrayVal, V, AllocInfo) { in ConstantArray()
1373 AllocInfo AllocInfo) in ConstantStruct() argument
1374 : ConstantAggregate(T, ConstantStructVal, V, AllocInfo) { in ConstantStruct()
1416 AllocInfo AllocInfo) in ConstantVector() argument
1417 : ConstantAggregate(T, ConstantVectorVal, V, AllocInfo) { in ConstantVector()
2789 std::optional<ConstantRange> InRange, AllocInfo AllocInfo) in GetElementPtrConstantExpr() argument
2790 : ConstantExpr(DestTy, Instruction::GetElementPtr, AllocInfo), in GetElementPtrConstantExpr()
H A DConstantsContext.h204 AllocInfo AllocInfo);
H A DInstruction.cpp38 Instruction::Instruction(Type *ty, unsigned it, AllocInfo AllocInfo, in Instruction() argument
40 : User(ty, Value::InstructionVal + it, AllocInfo) { in Instruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h222 BasicBlock *BB, AllocInfo AllocInfo) in MemoryAccess() argument
223 : DerivedUser(Type::getVoidTy(C), Vty, AllocInfo, DeleteValue), in MemoryAccess()
284 AllocInfo AllocInfo)
285 : MemoryAccess(C, Vty, DeleteValue, BB, AllocInfo),
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp913 struct IndexCall : public PointerUnion<CallsiteInfo *, AllocInfo *> {
917 IndexCall(AllocInfo *AllocNode) : PointerUnion(AllocNode) {} in IndexCall()
923 PointerUnion<CallsiteInfo *, AllocInfo *> Base = *this; in print()
924 if (auto *AI = llvm::dyn_cast_if_present<AllocInfo *>(Base)) { in print()
937 using SimpleType = PointerUnion<CallsiteInfo *, AllocInfo *>;
941 using SimpleType = const PointerUnion<CallsiteInfo *, AllocInfo *>;
1027 : public DenseMapInfo<PointerUnion<CallsiteInfo *, AllocInfo *>> {};
2076 if (isa<AllocInfo *>(Call)) in getLabel()
3957 auto *AI = cast<AllocInfo *>(Call.call()); in updateAllocationCall()
3975 const auto *AI = cast<AllocInfo *>(Call.call()); in getAllocationCallType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp340 std::vector<AllocInfo> Allocs; in computeFunctionSummary()
580 Allocs.push_back(AllocInfo(std::move(MIBs))); in computeFunctionSummary()
1022 ArrayRef<CallsiteInfo>{}, ArrayRef<AllocInfo>{}); in buildModuleSummaryIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h442 bool parseOptionalAllocs(std::vector<AllocInfo> &Allocs);
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7667 std::vector<AllocInfo> PendingAllocs; in parseEntireSummary()
8174 PendingAllocs.push_back(AllocInfo(std::move(MIBs))); in parseEntireSummary()
8202 PendingAllocs.push_back(AllocInfo(std::move(Versions), std::move(MIBs))); in parseEntireSummary()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9720 std::vector<AllocInfo> Allocs; in parseFunctionSummary()
10764 bool LLParser::parseOptionalAllocs(std::vector<AllocInfo> &Allocs) { in parseOptionalAllocs()