| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | ConstantPools.cpp | 26 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 D | ConstantPools.h | 43 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 D | CSKYTargetStreamer.cpp | 83 : 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 D | CSKYTargetStreamer.h | 53 std::unique_ptr<CSKYConstantPool> ConstantPool;
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | PseudoSourceValue.h | 41 ConstantPool, enumerator 70 bool isConstantPool() const { return Kind == ConstantPool; } in isConstantPool()
|
| H A D | StackMaps.h | 302 using ConstantPool = MapVector<uint64_t, uint64_t>; variable 358 ConstantPool ConstPool;
|
| H A D | MachineFunction.h | 275 MachineConstantPool *ConstantPool; 688 MachineConstantPool *getConstantPool() { return ConstantPool; } 689 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
|
| H A D | ISDOpcodes.h | 82 ConstantPool, enumerator
|
| H A D | SelectionDAGNodes.h | 1876 : 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 D | subreg-remat.ll | 8 ; %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 D | 2010-05-12-FastAllocKills.ll | 10 ; %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 D | ThumbRegisterInfo.cpp | 70 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 D | ARMBaseRegisterInfo.cpp | 502 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 D | MIRParser.cpp | 139 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 D | PseudoSourceValue.cpp | 106 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TM) {} in PseudoSourceValueManager()
|
| H A D | MIRPrinter.cpp | 117 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 D | MachineFunction.cpp | 204 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 D | XCoreInstrInfo.cpp | 443 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 D | Relocation.txt | 6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kInstrCompiler.td | 16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 5465 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 D | LoongArchISelLowering.cpp | 56 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 D | ReducerWorkItem.cpp | 160 case PseudoSourceValue::ConstantPool: in cloneMemOperands()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelLowering.cpp | 95 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 D | SelectionDAGDumper.cpp | 137 case ISD::ConstantPool: return "ConstantPool"; in getOperationName()
|