Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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()
69 bool ConstantPool::empty() { return Entries.empty(); } in empty()
71 void ConstantPool::clearCache() { in clearCache()
79 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
87 ConstantPool &
93 ConstantPool &CP) { in emitConstantPool()
104 ConstantPool &CP = CPI.second; in emitAll()
112 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection()
118 if (ConstantPool *CP = getConstantPool(Section)) in clearCacheForCurrentSection()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DConstantPools.h43 class ConstantPool {
51 ConstantPool() = default;
85 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
96 ConstantPool *getConstantPool(MCSection *Section);
97 ConstantPool &getOrCreateConstantPool(MCSection *Section);
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DPseudoSourceValue.h41 ConstantPool, enumerator
70 bool isConstantPool() const { return Kind == ConstantPool; } in isConstantPool()
H A DStackMaps.h302 using ConstantPool = MapVector<uint64_t, uint64_t>; variable
358 ConstantPool ConstPool;
H A DMachineFunction.h275 MachineConstantPool *ConstantPool;
688 MachineConstantPool *getConstantPool() { return ConstantPool; }
689 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
H A DISDOpcodes.h82 ConstantPool, enumerator
H A DSelectionDAGNodes.h1876 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1885 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1920 return N->getOpcode() == ISD::ConstantPool ||
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dsubreg-remat.ll8 ; %6:ssub_0 = VLDRS %const.0, 0, 14, %noreg; mem:LD4[ConstantPool] DPR_VFP2:%6
34 ; %2:ssub_0 = VLDRS %const.0, 0, 14, %noreg, implicit-def %2; mem:LD4[ConstantPool]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2010-05-12-FastAllocKills.ll10 ; %reg1025 = MUL_Fp80m32 %reg1024, %rip, 1, %reg0, %const.0, %reg0; mem:LD4[ConstantPool]
21 ; %fp2 = MUL_Fp80m32 %fp1, %rip, 1, %reg0, %const.0, %reg0; mem:LD4[ConstantPool]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp139 MachineConstantPool &ConstantPool,
487 auto *ConstantPool = MF.getConstantPool(); in initializeMachineFunction() local
488 assert(ConstantPool && "Constant pool must be created"); in initializeMachineFunction()
489 if (initializeConstantPool(PFS, *ConstantPool, YamlMF)) in initializeMachineFunction()
910 MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) { in initializeConstantPool() argument
927 unsigned Index = ConstantPool.getConstantPoolIndex(Value, Alignment); in initializeConstantPool()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp106 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TM) {} in PseudoSourceValueManager()
H A DMIRPrinter.cpp117 const MachineConstantPool &ConstantPool);
231 if (const auto *ConstantPool = MF.getConstantPool()) in print() local
232 convert(YamlMF, *ConstantPool); in print()
556 const MachineConstantPool &ConstantPool) { in convert() argument
558 for (const MachineConstantPoolEntry &Constant : ConstantPool.getConstants()) { in convert()
H A DMachineFunction.cpp204 ConstantPool = new (Allocator) MachineConstantPool(getDataLayout()); in init()
266 ConstantPool->~MachineConstantPool(); in clear()
267 Allocator.Deallocate(ConstantPool); in clear()
582 ConstantPool->print(OS); in print()
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp443 MachineConstantPool *ConstantPool = MBB.getParent()->getConstantPool(); in loadImmediate() local
446 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in loadImmediate()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DRelocation.txt6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kInstrCompiler.td16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5465 return ConstantPool.lookup(V); in LookupConstant()
5474 const SmallDenseMap<Value *, Constant *> &ConstantPool) { in ConstantFold() argument
5476 Constant *A = LookupConstant(Select->getCondition(), ConstantPool); in ConstantFold()
5480 return LookupConstant(Select->getTrueValue(), ConstantPool); in ConstantFold()
5482 return LookupConstant(Select->getFalseValue(), ConstantPool); in ConstantFold()
5488 if (Constant *A = LookupConstant(I->getOperand(N), ConstantPool)) in ConstantFold()
5511 SmallDenseMap<Value *, Constant *> ConstantPool; in getCaseResults() local
5512 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in getCaseResults()
5520 } else if (Constant *C = ConstantFold(&I, DL, ConstantPool)) { in getCaseResults()
5537 ConstantPool.insert(std::make_pair(&I, C)); in getCaseResults()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp56 setOperationAction({ISD::GlobalAddress, ISD::ConstantPool}, GRLenVT, Custom); in LoongArchTargetLowering()
130 case ISD::ConstantPool: in LowerOperation()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp160 case PseudoSourceValue::ConstantPool: in cloneMemOperands()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp95 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in LanaiTargetLowering()
178 case ISD::ConstantPool: in LowerOperation()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp137 case ISD::ConstantPool: return "ConstantPool"; in getOperationName()

12