Searched refs:ConstantPool (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DConstantPools.cpp1 //===- ConstantPools.cpp - ConstantPool class -----------------------------===//
9 // This file implements the ConstantPool and AssemblerConstantPools classes.
23 // ConstantPool implementation
26 void ConstantPool::emitEntries(MCStreamer &Streamer) {
39 const MCExpr *ConstantPool::addEntry(const MCExpr *Value, MCContext &Context,
57 bool ConstantPool::empty() { return Entries.empty(); }
59 void ConstantPool::clearCache() {
66 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) {
74 ConstantPool &
80 ConstantPool
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DConstantPools.h9 // This file declares the ConstantPool and AssemblerConstantPools classes.
44 class ConstantPool { class in namespace:llvm
51 ConstantPool() = default;
85 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
96 ConstantPool *getConstantPool(MCSection *Section);
97 ConstantPool &getOrCreateConstantPool(MCSection *Section);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DPseudoSourceValue.h42 ConstantPool,
71 bool isConstantPool() const { return Kind == ConstantPool; }
H A DStackMaps.h240 using ConstantPool = MapVector<uint64_t, uint64_t>;
296 ConstantPool ConstPool;
H A DMachineFunction.h241 MachineConstantPool *ConstantPool; member in class:llvm::MachineFunction
501 MachineConstantPool *getConstantPool() { return ConstantPool; }
502 const MachineConstantPool *getConstantPool() const { return ConstantPool; }
H A DISDOpcodes.h64 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator in enum:llvm::ISD::NodeType
H A DSelectionDAGNodes.h1824 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1833 : SDNode(isTarget ? ISD::TargetConstantPool : ISD::ConstantPool, 0,
1868 return N->getOpcode() == ISD::ConstantPool ||
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp24 "Stack", "GOT", "JumpTable", "ConstantPool", "FixedStack",
112 ConstantPoolPSV(PseudoSourceValue::ConstantPool, TII) {}
H A DMIRPrinter.cpp127 const MachineConstantPool &ConstantPool);
219 if (const auto *ConstantPool = MF.getConstantPool())
220 convert(YamlMF, *ConstantPool);
502 const MachineConstantPool &ConstantPool) {
504 for (const MachineConstantPoolEntry &Constant : ConstantPool.getConstants()) {
501 convert(yaml::MachineFunction &MF, const MachineConstantPool &ConstantPool) argument
H A DMachineFunction.cpp175 ConstantPool = new (Allocator) MachineConstantPool(getDataLayout());
239 ConstantPool->~MachineConstantPool();
240 Allocator.Deallocate(ConstantPool);
516 ConstantPool->print(OS);
H A DMachineOperand.cpp1118 case PseudoSourceValue::ConstantPool:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumbRegisterInfo.cpp70 MachineConstantPool *ConstantPool = MF.getConstantPool(); local
73 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4);
89 MachineConstantPool *ConstantPool = MF.getConstantPool(); local
92 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4);
H A DARMBaseRegisterInfo.cpp464 MachineConstantPool *ConstantPool = MF.getConstantPool(); local
467 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4);
H A DARMISelLowering.cpp1203 setOperationAction(ISD::ConstantPool, MVT::i32, Custom);
3007 // ConstantPool, JumpTable, GlobalAddress, and ExternalSymbol are lowered as
9293 case ISD::ConstantPool: return LowerConstantPool(Op, DAG);
9786 MachineConstantPool *ConstantPool = MF->getConstantPool(); local
9794 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align);
9887 MachineConstantPool *ConstantPool = MF->getConstantPool(); local
9895 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align);
10289 MachineConstantPool *ConstantPool = MF->getConstantPool(); local
10297 unsigned Idx = ConstantPool->getConstantPoolIndex(C, Align);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp139 MachineConstantPool &ConstantPool,
423 auto *ConstantPool = MF.getConstantPool(); local
424 assert(ConstantPool && "Constant pool must be created");
425 if (initializeConstantPool(PFS, *ConstantPool, YamlMF))
819 MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) {
837 unsigned Index = ConstantPool.getConstantPoolIndex(Value, Alignment);
818 initializeConstantPool(PerFunctionMIParsingState &PFS, MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp443 MachineConstantPool *ConstantPool = MBB.getParent()->getConstantPool(); local
446 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4);
H A DXCoreISelLowering.cpp120 setOperationAction(ISD::ConstantPool, MVT::i32, Custom);
204 case ISD::ConstantPool: return LowerConstantPool(Op, DAG);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp4688 /// its constant value in ConstantPool, returning 0 if it's not there.
4691 const SmallDenseMap<Value *, Constant *> &ConstantPool) {
4694 return ConstantPool.lookup(V);
4699 /// constant or can be replaced by constants from the ConstantPool. Returns the
4703 const SmallDenseMap<Value *, Constant *> &ConstantPool) {
4705 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
4709 return LookupConstant(Select->getTrueValue(), ConstantPool);
4711 return LookupConstant(Select->getFalseValue(), ConstantPool);
4717 if (Constant *A = LookupConstant(I->getOperand(N), ConstantPool))
4745 SmallDenseMap<Value *, Constant *> ConstantPool; local
4690 LookupConstant(Value *V, const SmallDenseMap<Value *, Constant *> &ConstantPool) argument
4702 ConstantFold(Instruction *I, const DataLayout &DL, const SmallDenseMap<Value *, Constant *> &ConstantPool) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp95 setOperationAction(ISD::ConstantPool, MVT::i32, Custom);
182 case ISD::ConstantPool:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp137 case ISD::ConstantPool: return "ConstantPool";
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1349 setOperationAction(ISD::ConstantPool, MVT::i32, Custom);
1488 ISD::BR_CC, ISD::SELECT_CC, ISD::ConstantPool,
2921 case ISD::ConstantPool: return LowerConstantPool(Op, DAG);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.cpp1506 case PseudoSourceValue::ConstantPool:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp210 setOperationAction(ISD::ConstantPool, XLenVT, Custom);
400 case ISD::ConstantPool:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp350 setOperationAction(ISD::ConstantPool, MVT::i32, Custom);
371 setOperationAction(ISD::ConstantPool, MVT::i64, Custom);
1223 case ISD::ConstantPool: return lowerConstantPool(Op, DAG);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1486 setOperationAction(ISD::ConstantPool, PtrVT, Custom);
1939 // Build SDNodes for producing an address from a GlobalAddress, ConstantPool,
3018 case ISD::ConstantPool: return LowerConstantPool(Op, DAG);

Completed in 329 milliseconds

12