Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DConstantPools.cpp26 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries()
39 const MCExpr *ConstantPool::addEntry(const MCExpr *Value, MCContext &Context, in addEntry()
70 bool ConstantPool::empty() { return Entries.empty(); } in empty()
72 void ConstantPool::clearCache() { in clearCache()
80 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
88 ConstantPool &
94 ConstantPool &CP) { in emitConstantPool()
105 ConstantPool &CP = CPI.second; in emitAll()
113 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection()
119 if (ConstantPool *CP = getConstantPool(Section)) in clearCacheForCurrentSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DConstantPools.h43 class ConstantPool {
56 ConstantPool() = default;
90 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
101 ConstantPool *getConstantPool(MCSection *Section);
102 ConstantPool &getOrCreateConstantPool(MCSection *Section);
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.cpp19 // ConstantPool implementation
82 : MCTargetStreamer(S), ConstantPool(new CSKYConstantPool()) {} in CSKYTargetStreamer()
104 ConstantPool->addEntry(getStreamer(), OrigExpr, 4, Loc, AdjustExpr); in addConstantPoolEntry()
109 return ConstantPool->addEntry(getStreamer(), Expr, 4, Loc, AdjustExpr); in addConstantPoolEntry()
113 ConstantPool->emitAll(Streamer); in emitCurrentConstantPool()
114 ConstantPool->clearCache(); in emitCurrentConstantPool()
120 ConstantPool->emitAll(Streamer); in finish()
H A DCSKYTargetStreamer.h53 std::unique_ptr<CSKYConstantPool> ConstantPool;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMergeStringPool.cpp259 Constant *ConstantPool = ConstantStruct::getAnon(ConstantsInStruct); in mergeModuleStringPool() local
260 PooledStructType = ConstantPool->getType(); in mergeModuleStringPool()
267 ConstantPool, "__ModuleStringPool"); in mergeModuleStringPool()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DPseudoSourceValue.h37 ConstantPool,
66 bool isConstantPool() const { return Kind == ConstantPool; } in kind()
41 ConstantPool, global() enumerator
H A DStackMaps.h309 using ConstantPool = MapVector<uint64_t, uint64_t>;
365 ConstantPool ConstPool;
310 using ConstantPool = MapVector<uint64_t, uint64_t>; global() variable
H A DMachineFunction.h276 MachineConstantPool *ConstantPool;
749 MachineConstantPool *getConstantPool() { return ConstantPool; }
750 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
H A DISDOpcodes.h82 ConstantPool, enumerator
H A DSelectionDAGNodes.h1981 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1990 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
2025 return N->getOpcode() == ISD::ConstantPool ||
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumbRegisterInfo.cpp70 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitThumb1LoadConstPool() local
73 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitThumb1LoadConstPool()
89 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitThumb2LoadConstPool() local
92 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitThumb2LoadConstPool()
H A DARMBaseRegisterInfo.cpp502 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitLoadConstPool() local
505 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitLoadConstPool()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp151 MachineConstantPool &ConstantPool,
521 auto *ConstantPool = MF.getConstantPool(); in initializeMachineFunction() local
522 assert(ConstantPool && "Constant pool must be created"); in initializeMachineFunction()
523 if (initializeConstantPool(PFS, *ConstantPool, YamlMF)) in initializeMachineFunction()
983 MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) { in initializeConstantPool() argument
1000 unsigned Index = ConstantPool.getConstantPoolIndex(Value, Alignment); in initializeConstantPool()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp119 const MachineConstantPool &ConstantPool);
239 if (const auto *ConstantPool = MF.getConstantPool()) in print() local
240 convert(YamlMF, *ConstantPool); in print()
578 const MachineConstantPool &ConstantPool) { in convert() argument
580 for (const MachineConstantPoolEntry &Constant : ConstantPool.getConstants()) { in convert()
H A DPseudoSourceValue.cpp108 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TM) {} in PseudoSourceValueManager()
H A DMachineFunction.cpp214 ConstantPool = new (Allocator) MachineConstantPool(getDataLayout()); in init()
290 ConstantPool->~MachineConstantPool(); in clear()
291 Allocator.Deallocate(ConstantPool); in clear()
627 ConstantPool->print(OS); in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp440 MachineConstantPool *ConstantPool = MBB.getParent()->getConstantPool(); in loadImmediate() local
443 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in loadImmediate()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DRelocation.txt6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrCompiler.td16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5868 const SmallDenseMap<Value *, Constant *> &ConstantPool) { in LookupConstant() argument
5871 return ConstantPool.lookup(V); in LookupConstant()
5880 const SmallDenseMap<Value *, Constant *> &ConstantPool) { in ConstantFold() argument
5882 Constant *A = LookupConstant(Select->getCondition(), ConstantPool); in ConstantFold()
5886 return LookupConstant(Select->getTrueValue(), ConstantPool); in ConstantFold()
5888 return LookupConstant(Select->getFalseValue(), ConstantPool); in ConstantFold()
5894 if (Constant *A = LookupConstant(I->getOperand(N), ConstantPool)) in ConstantFold()
5917 SmallDenseMap<Value *, Constant *> ConstantPool; in getCaseResults() local
5918 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in getCaseResults()
5926 } else if (Constant *C = ConstantFold(&I, DL, ConstantPool)) { in getCaseResults()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaISelLowering.cpp79 setOperationAction(ISD::ConstantPool, PtrVT, Custom); in XtensaTargetLowering()
729 case ISD::ConstantPool: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp72 setOperationAction({ISD::GlobalAddress, ISD::ConstantPool}, MVT::i64, Custom); in BPFTargetLowering()
310 case ISD::ConstantPool: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp90 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in CSKYTargetLowering()
180 case ISD::ConstantPool: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp95 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in LanaiTargetLowering()
180 case ISD::ConstantPool: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp149 case ISD::ConstantPool: return "ConstantPool"; in getOperationName()

12