Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp75 ARMConstantPoolValue::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument
76 if (ACPV->Kind == Kind && in hasSameValue()
77 ACPV->PCAdjust == PCAdjust && in hasSameValue()
78 ACPV->Modifier == Modifier) { in hasSameValue()
79 if (ACPV->LabelId == LabelId) in hasSameValue()
183 bool ARMConstantPoolConstant::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument
184 const ARMConstantPoolConstant *ACPC = dyn_cast<ARMConstantPoolConstant>(ACPV); in hasSameValue()
185 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue()
237 bool ARMConstantPoolSymbol::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument
238 const ARMConstantPoolSymbol *ACPS = dyn_cast<ARMConstantPoolSymbol>(ACPV); in hasSameValue()
[all …]
DARMConstantPoolValue.h94 virtual bool hasSameValue(ARMConstantPoolValue *ACPV);
151 virtual bool hasSameValue(ARMConstantPoolValue *ACPV);
183 virtual bool hasSameValue(ARMConstantPoolValue *ACPV);
187 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument
188 return ACPV->isExtSymbol(); in classof()
215 virtual bool hasSameValue(ARMConstantPoolValue *ACPV);
219 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument
220 return ACPV->isMachineBasicBlock(); in classof()
DARMJITInfo.cpp254 ARMConstantPoolValue *ACPV = (ARMConstantPoolValue*)MR->getConstantVal(); in resolveRelocDestAddr() local
255 assert((!ACPV->hasModifier() && !ACPV->mustAddCurrentAddress()) && in resolveRelocDestAddr()
258 Addr -= getPCLabelAddr(ACPV->getLabelId()) + ACPV->getPCAdjustment(); in resolveRelocDestAddr()
DARMAsmPrinter.cpp930 ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV); in EmitMachineConstantPoolValue() local
933 if (ACPV->isLSDA()) { in EmitMachineConstantPoolValue()
938 } else if (ACPV->isBlockAddress()) { in EmitMachineConstantPoolValue()
940 cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(); in EmitMachineConstantPoolValue()
942 } else if (ACPV->isGlobalValue()) { in EmitMachineConstantPoolValue()
943 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in EmitMachineConstantPoolValue()
945 } else if (ACPV->isMachineBasicBlock()) { in EmitMachineConstantPoolValue()
946 const MachineBasicBlock *MBB = cast<ARMConstantPoolMBB>(ACPV)->getMBB(); in EmitMachineConstantPoolValue()
949 assert(ACPV->isExtSymbol() && "unrecognized constant pool value"); in EmitMachineConstantPoolValue()
950 const char *Sym = cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(); in EmitMachineConstantPoolValue()
[all …]
DARMCodeEmitter.cpp370 intptr_t ACPV = 0) const;
503 intptr_t ACPV) const { in emitGlobalAddress()
507 ACPV, MayNeedFarStub) in emitGlobalAddress()
509 const_cast<GlobalValue *>(GV), ACPV, in emitGlobalAddress()
717 ARMConstantPoolValue *ACPV = in emitConstPoolInstruction() local
721 << (void*)MCE.getCurrentPCValue() << " " << *ACPV << '\n'); in emitConstPoolInstruction()
723 assert(ACPV->isGlobalValue() && "unsupported constant pool value"); in emitConstPoolInstruction()
724 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in emitConstPoolInstruction()
730 (intptr_t)ACPV); in emitConstPoolInstruction()
732 const char *Sym = cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(); in emitConstPoolInstruction()
DARMBaseInstrInfo.cpp1209 ARMConstantPoolValue *ACPV = in duplicateCPV() local
1219 if (ACPV->isGlobalValue()) in duplicateCPV()
1221 Create(cast<ARMConstantPoolConstant>(ACPV)->getGV(), PCLabelId, in duplicateCPV()
1223 else if (ACPV->isExtSymbol()) in duplicateCPV()
1226 cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(), PCLabelId, 4); in duplicateCPV()
1227 else if (ACPV->isBlockAddress()) in duplicateCPV()
1229 Create(cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(), PCLabelId, in duplicateCPV()
1231 else if (ACPV->isLSDA()) in duplicateCPV()
1234 else if (ACPV->isMachineBasicBlock()) in duplicateCPV()
1237 cast<ARMConstantPoolMBB>(ACPV)->getMBB(), PCLabelId, 4); in duplicateCPV()