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.cpp83 : MCTargetStreamer(S), ConstantPool(new CSKYConstantPool()) {} in CSKYTargetStreamer()
105 ConstantPool->addEntry(getStreamer(), OrigExpr, 4, Loc, AdjustExpr); in addConstantPoolEntry()
110 return ConstantPool->addEntry(getStreamer(), Expr, 4, Loc, AdjustExpr); in addConstantPoolEntry()
114 ConstantPool->emitAll(Streamer); in emitCurrentConstantPool()
115 ConstantPool->clearCache(); in emitCurrentConstantPool()
121 ConstantPool->emitAll(Streamer); in finish()
H A DCSKYTargetStreamer.h53 std::unique_ptr<CSKYConstantPool> ConstantPool;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DPseudoSourceValue.h39 ConstantPool, enumerator
68 bool isConstantPool() const { return Kind == ConstantPool; } in isConstantPool()
H A DStackMaps.h311 using ConstantPool = MapVector<uint64_t, uint64_t>; variable
364 ConstantPool ConstPool;
H A DMachineFunction.h303 MachineConstantPool *ConstantPool;
784 MachineConstantPool *getConstantPool() { return ConstantPool; }
785 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
H A DISDOpcodes.h92 ConstantPool, enumerator
H A DSelectionDAGNodes.h2094 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
2103 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
2138 return N->getOpcode() == ISD::ConstantPool ||
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumbRegisterInfo.cpp68 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitThumb1LoadConstPool() local
71 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitThumb1LoadConstPool()
87 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitThumb2LoadConstPool() local
90 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitThumb2LoadConstPool()
H A DARMBaseRegisterInfo.cpp531 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitLoadConstPool() local
534 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitLoadConstPool()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp108 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TM) {} in PseudoSourceValueManager()
H A DMIRPrinter.cpp148 const MachineConstantPool &ConstantPool);
215 if (const auto *ConstantPool = MF.getConstantPool()) in printMF() local
216 convertMCP(YamlMF, *ConstantPool); in printMF()
593 const MachineConstantPool &ConstantPool) { in convertMCP() argument
595 for (const MachineConstantPoolEntry &Constant : ConstantPool.getConstants()) { in convertMCP()
H A DMachineFunction.cpp211 ConstantPool = new (Allocator) MachineConstantPool(getDataLayout()); in init()
296 ConstantPool->~MachineConstantPool(); in clear()
297 Allocator.Deallocate(ConstantPool); in clear()
663 ConstantPool->print(OS); in print()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp151 MachineConstantPool &ConstantPool,
577 auto *ConstantPool = MF.getConstantPool(); in initializeMachineFunction() local
578 assert(ConstantPool && "Constant pool must be created"); in initializeMachineFunction()
579 if (initializeConstantPool(PFS, *ConstantPool, YamlMF)) in initializeMachineFunction()
1061 MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) { in initializeConstantPool() argument
1078 unsigned Index = ConstantPool.getConstantPoolIndex(Value, Alignment); in initializeConstantPool()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp439 MachineConstantPool *ConstantPool = MBB.getParent()->getConstantPool(); in loadImmediate() local
442 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/Target/Xtensa/
H A DXtensaInstrInfo.cpp494 MachineConstantPool *ConstantPool = MF->getConstantPool(); in insertIndirectBranch() local
544 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in insertIndirectBranch()
H A DXtensaISelLowering.cpp102 setOperationAction(ISD::ConstantPool, PtrVT, Custom); in XtensaTargetLowering()
1474 case ISD::ConstantPool: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6017 const SmallDenseMap<Value *, Constant *> &ConstantPool) { in lookupConstant() argument
6020 return ConstantPool.lookup(V); in lookupConstant()
6029 const SmallDenseMap<Value *, Constant *> &ConstantPool) { in constantFold() argument
6031 Constant *A = lookupConstant(Select->getCondition(), ConstantPool); in constantFold()
6035 return lookupConstant(Select->getTrueValue(), ConstantPool); in constantFold()
6037 return lookupConstant(Select->getFalseValue(), ConstantPool); in constantFold()
6043 if (Constant *A = lookupConstant(I->getOperand(N), ConstantPool)) in constantFold()
6066 SmallDenseMap<Value *, Constant *> ConstantPool; in getCaseResults() local
6067 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in getCaseResults()
6075 } else if (Constant *C = constantFold(&I, DL, ConstantPool)) { in getCaseResults()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp75 setOperationAction({ISD::GlobalAddress, ISD::ConstantPool}, MVT::i64, Custom); in BPFTargetLowering()
321 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.cpp93 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in LanaiTargetLowering()
173 case ISD::ConstantPool: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp160 case ISD::ConstantPool: return "ConstantPool"; in getOperationName()

12