Home
last modified time | relevance | path

Searched refs:ACPV (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaConstantPoolValue.cpp57 bool XtensaConstantPoolValue::hasSameValue(XtensaConstantPoolValue *ACPV) { in hasSameValue() argument
58 if (ACPV->Kind == Kind) { in hasSameValue()
59 if (ACPV->LabelId == LabelId) in hasSameValue()
95 bool XtensaConstantPoolConstant::hasSameValue(XtensaConstantPoolValue *ACPV) { in hasSameValue() argument
97 dyn_cast<XtensaConstantPoolConstant>(ACPV); in hasSameValue()
99 XtensaConstantPoolValue::hasSameValue(ACPV); in hasSameValue()
132 bool XtensaConstantPoolSymbol::hasSameValue(XtensaConstantPoolValue *ACPV) { in hasSameValue() argument
134 dyn_cast<XtensaConstantPoolSymbol>(ACPV); in hasSameValue()
135 return ACPS && ACPS->S == S && XtensaConstantPoolValue::hasSameValue(ACPV); in hasSameValue()
164 bool XtensaConstantPoolMBB::hasSameValue(XtensaConstantPoolValue *ACPV) { in hasSameValue() argument
[all …]
H A DXtensaAsmPrinter.cpp64 XtensaConstantPoolValue *ACPV = static_cast<XtensaConstantPoolValue *>(MCPV); in emitMachineConstantPoolValue() local
67 if (ACPV->isBlockAddress()) { in emitMachineConstantPoolValue()
69 cast<XtensaConstantPoolConstant>(ACPV)->getBlockAddress(); in emitMachineConstantPoolValue()
71 } else if (ACPV->isJumpTable()) { in emitMachineConstantPoolValue()
72 unsigned Idx = cast<XtensaConstantPoolJumpTable>(ACPV)->getIndex(); in emitMachineConstantPoolValue()
75 assert(ACPV->isExtSymbol() && "unrecognized constant pool value"); in emitMachineConstantPoolValue()
76 XtensaConstantPoolSymbol *XtensaSym = cast<XtensaConstantPoolSymbol>(ACPV); in emitMachineConstantPoolValue()
88 MCSymbol *LblSym = GetCPISymbol(ACPV->getLabelId()); in emitMachineConstantPoolValue()
91 MCSymbolRefExpr::VariantKind VK = getModifierVariantKind(ACPV->getModifier()); in emitMachineConstantPoolValue()
93 if (ACPV->getModifier() != XtensaCP::no_modifier) { in emitMachineConstantPoolValue()
[all …]
H A DXtensaConstantPoolValue.h104 virtual bool hasSameValue(XtensaConstantPoolValue *ACPV);
142 bool hasSameValue(XtensaConstantPoolValue *ACPV) override;
180 bool hasSameValue(XtensaConstantPoolValue *ACPV) override;
186 static bool classof(const XtensaConstantPoolValue *ACPV) { in classof() argument
187 return ACPV->isExtSymbol(); in classof()
216 bool hasSameValue(XtensaConstantPoolValue *ACPV) override;
220 static bool classof(const XtensaConstantPoolValue *ACPV) { in classof() argument
221 return ACPV->isMachineBasicBlock(); in classof()
248 bool hasSameValue(XtensaConstantPoolValue *ACPV) override;
252 static bool classof(const XtensaConstantPoolValue *ACPV) { in classof() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.cpp87 ARMConstantPoolValue::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument
88 if (ACPV->Kind == Kind && in hasSameValue()
89 ACPV->PCAdjust == PCAdjust && in hasSameValue()
90 ACPV->Modifier == Modifier && in hasSameValue()
91 ACPV->LabelId == LabelId && in hasSameValue()
92 ACPV->AddCurrentAddress == AddCurrentAddress) { in hasSameValue()
204 bool ARMConstantPoolConstant::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument
205 const ARMConstantPoolConstant *ACPC = dyn_cast<ARMConstantPoolConstant>(ACPV); in hasSameValue()
206 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue()
244 bool ARMConstantPoolSymbol::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument
[all …]
H A DARMConstantPoolValue.h121 virtual bool hasSameValue(ARMConstantPoolValue *ACPV);
192 bool hasSameValue(ARMConstantPoolValue *ACPV) override;
230 bool hasSameValue(ARMConstantPoolValue *ACPV) override;
234 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument
235 return ACPV->isExtSymbol(); in classof()
266 bool hasSameValue(ARMConstantPoolValue *ACPV) override;
270 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument
271 return ACPV->isMachineBasicBlock(); in classof()
H A DARMAsmPrinter.cpp920 ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV); in emitMachineConstantPoolValue() local
922 if (ACPV->isPromotedGlobal()) { in emitMachineConstantPoolValue()
932 auto *ACPC = cast<ARMConstantPoolConstant>(ACPV); in emitMachineConstantPoolValue()
944 if (ACPV->isLSDA()) { in emitMachineConstantPoolValue()
946 } else if (ACPV->isBlockAddress()) { in emitMachineConstantPoolValue()
948 cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(); in emitMachineConstantPoolValue()
950 } else if (ACPV->isGlobalValue()) { in emitMachineConstantPoolValue()
951 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in emitMachineConstantPoolValue()
957 } else if (ACPV->isMachineBasicBlock()) { in emitMachineConstantPoolValue()
958 const MachineBasicBlock *MBB = cast<ARMConstantPoolMBB>(ACPV)->getMBB(); in emitMachineConstantPoolValue()
[all …]
H A DARMBaseInstrInfo.cpp1773 ARMConstantPoolValue *ACPV = in duplicateCPV() local
1784 if (ACPV->isGlobalValue()) in duplicateCPV()
1786 cast<ARMConstantPoolConstant>(ACPV)->getGV(), PCLabelId, ARMCP::CPValue, in duplicateCPV()
1787 4, ACPV->getModifier(), ACPV->mustAddCurrentAddress()); in duplicateCPV()
1788 else if (ACPV->isExtSymbol()) in duplicateCPV()
1791 cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(), PCLabelId, 4); in duplicateCPV()
1792 else if (ACPV->isBlockAddress()) in duplicateCPV()
1794 Create(cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(), PCLabelId, in duplicateCPV()
1796 else if (ACPV->isLSDA()) in duplicateCPV()
1799 else if (ACPV->isMachineBasicBlock()) in duplicateCPV()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantPoolValue.h166 static bool classof(const CSKYConstantPoolValue *ACPV) { in classof() argument
167 return ACPV->isExtSymbol(); in classof()
194 static bool classof(const CSKYConstantPoolValue *ACPV) { in classof() argument
195 return ACPV->isMachineBasicBlock(); in classof()
221 static bool classof(const CSKYConstantPoolValue *ACPV) { in classof() argument
222 return ACPV->isJT(); in classof()