/freebsd/contrib/llvm-project/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() 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 D | ConstantPools.h | 43 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 D | CSKYTargetStreamer.cpp | 19 // 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 D | CSKYTargetStreamer.h | 53 std::unique_ptr<CSKYConstantPool> ConstantPool;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCMergeStringPool.cpp | 259 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 D | PseudoSourceValue.h | 37 ConstantPool, 66 bool isConstantPool() const { return Kind == ConstantPool; } in kind() 41 ConstantPool, global() enumerator
|
H A D | StackMaps.h | 309 using ConstantPool = MapVector<uint64_t, uint64_t>; 365 ConstantPool ConstPool; 310 using ConstantPool = MapVector<uint64_t, uint64_t>; global() variable
|
H A D | MachineFunction.h | 276 MachineConstantPool *ConstantPool; 749 MachineConstantPool *getConstantPool() { return ConstantPool; } 750 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
|
H A D | ISDOpcodes.h | 82 ConstantPool, enumerator
|
H A D | SelectionDAGNodes.h | 1981 : 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 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()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIRParser.cpp | 151 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 D | MIRPrinter.cpp | 119 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 D | PseudoSourceValue.cpp | 108 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TM) {} in PseudoSourceValueManager()
|
H A D | MachineFunction.cpp | 214 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 D | XCoreInstrInfo.cpp | 440 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 D | Relocation.txt | 6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kInstrCompiler.td | 16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 5868 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 D | XtensaISelLowering.cpp | 79 setOperationAction(ISD::ConstantPool, PtrVT, Custom); in XtensaTargetLowering() 729 case ISD::ConstantPool: in LowerOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.cpp | 72 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 D | CSKYISelLowering.cpp | 90 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in CSKYTargetLowering() 180 case ISD::ConstantPool: in LowerOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 95 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in LanaiTargetLowering() 180 case ISD::ConstantPool: in LowerOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGDumper.cpp | 149 case ISD::ConstantPool: return "ConstantPool"; in getOperationName()
|