Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/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()
57 bool ConstantPool::empty() { return Entries.empty(); } in empty()
59 void ConstantPool::clearCache() { in clearCache()
66 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool()
74 ConstantPool &
80 ConstantPool &CP) { in emitConstantPool()
91 ConstantPool &CP = CPI.second; in emitAll()
99 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection()
105 if (ConstantPool *CP = getConstantPool(Section)) in clearCacheForCurrentSection()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DConstantPools.h43 class ConstantPool {
50 ConstantPool() = default;
84 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
95 ConstantPool *getConstantPool(MCSection *Section);
96 ConstantPool &getOrCreateConstantPool(MCSection *Section);
/netbsd/external/apache2/llvm/dist/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.h248 MachineConstantPool *ConstantPool;
590 MachineConstantPool *getConstantPool() { return ConstantPool; }
591 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
H A DISDOpcodes.h75 ConstantPool, enumerator
H A DSelectionDAGNodes.h1825 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1834 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1869 return N->getOpcode() == ISD::ConstantPool ||
/netbsd/external/apache2/llvm/dist/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.cpp483 MachineConstantPool *ConstantPool = MF.getConstantPool(); in emitLoadConstPool() local
486 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align(4)); in emitLoadConstPool()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp140 MachineConstantPool &ConstantPool,
455 auto *ConstantPool = MF.getConstantPool(); in initializeMachineFunction() local
456 assert(ConstantPool && "Constant pool must be created"); in initializeMachineFunction()
457 if (initializeConstantPool(PFS, *ConstantPool, YamlMF)) in initializeMachineFunction()
866 MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) { in initializeConstantPool() argument
883 unsigned Index = ConstantPool.getConstantPoolIndex(Value, Alignment); in initializeConstantPool()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMIRPrinter.cpp130 const MachineConstantPool &ConstantPool);
227 if (const auto *ConstantPool = MF.getConstantPool()) in print() local
228 convert(YamlMF, *ConstantPool); in print()
529 const MachineConstantPool &ConstantPool) { in convert() argument
531 for (const MachineConstantPoolEntry &Constant : ConstantPool.getConstants()) { in convert()
H A DPseudoSourceValue.cpp112 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TII) {} in PseudoSourceValueManager()
H A DMachineFunction.cpp177 ConstantPool = new (Allocator) MachineConstantPool(getDataLayout()); in init()
241 ConstantPool->~MachineConstantPool(); in clear()
242 Allocator.Deallocate(ConstantPool); in clear()
539 ConstantPool->print(OS); in print()
H A DMachineOperand.cpp1128 case PseudoSourceValue::ConstantPool: in print()
/netbsd/external/apache2/llvm/dist/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()
H A DXCoreISelLowering.cpp120 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in XCoreTargetLowering()
204 case ISD::ConstantPool: return LowerConstantPool(Op, DAG); in LowerOperation()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DRelocation.txt6 GlobalAddress, GlobalTLSAddress, JumpTable, ConstantPool,
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kInstrCompiler.td16 // ConstantPool, GlobalAddress, ExternalSymbol, and JumpTable
H A DM68kISelLowering.cpp138 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in M68kTargetLowering()
1340 case ISD::ConstantPool: in LowerOperation()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5204 return ConstantPool.lookup(V); in LookupConstant()
5213 const SmallDenseMap<Value *, Constant *> &ConstantPool) { in ConstantFold() argument
5215 Constant *A = LookupConstant(Select->getCondition(), ConstantPool); in ConstantFold()
5219 return LookupConstant(Select->getTrueValue(), ConstantPool); in ConstantFold()
5221 return LookupConstant(Select->getFalseValue(), ConstantPool); in ConstantFold()
5227 if (Constant *A = LookupConstant(I->getOperand(N), ConstantPool)) in ConstantFold()
5255 SmallDenseMap<Value *, Constant *> ConstantPool; in GetCaseResults() local
5256 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal)); in GetCaseResults()
5264 } else if (Constant *C = ConstantFold(&I, DL, ConstantPool)) { in GetCaseResults()
5281 ConstantPool.insert(std::make_pair(&I, C)); in GetCaseResults()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp95 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in LanaiTargetLowering()
182 case ISD::ConstantPool: in LowerOperation()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp138 case ISD::ConstantPool: return "ConstantPool"; in getOperationName()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.cpp1484 case PseudoSourceValue::ConstantPool: in getAddressSpaceForPseudoSourceKind()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1499 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in HexagonTargetLowering()
1644 ISD::BR_CC, ISD::SELECT_CC, ISD::ConstantPool, in HexagonTargetLowering()
3155 case ISD::ConstantPool: return LowerConstantPool(Op, DAG); in LowerOperation()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEISelLowering.cpp126 setOperationAction(ISD::ConstantPool, PtrVT, Custom); in initSPUActions()
1684 case ISD::ConstantPool: in LowerOperation()

12