/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 81 ARMConstantPoolValue::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument 82 if (ACPV->Kind == Kind && in hasSameValue() 83 ACPV->PCAdjust == PCAdjust && in hasSameValue() 84 ACPV->Modifier == Modifier && in hasSameValue() 85 ACPV->LabelId == LabelId && in hasSameValue() 86 ACPV->AddCurrentAddress == AddCurrentAddress) { in hasSameValue() 175 bool ARMConstantPoolConstant::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument 176 const ARMConstantPoolConstant *ACPC = dyn_cast<ARMConstantPoolConstant>(ACPV); in hasSameValue() 177 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue() 214 bool ARMConstantPoolSymbol::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument [all …]
|
D | ARMConstantPoolValue.h | 113 virtual bool hasSameValue(ARMConstantPoolValue *ACPV); 170 bool hasSameValue(ARMConstantPoolValue *ACPV) override; 206 bool hasSameValue(ARMConstantPoolValue *ACPV) override; 210 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument 211 return ACPV->isExtSymbol(); in classof() 242 bool hasSameValue(ARMConstantPoolValue *ACPV) override; 246 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument 247 return ACPV->isMachineBasicBlock(); in classof()
|
D | ARMAsmPrinter.cpp | 955 ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV); in EmitMachineConstantPoolValue() local 958 if (ACPV->isLSDA()) { in EmitMachineConstantPoolValue() 960 } else if (ACPV->isBlockAddress()) { in EmitMachineConstantPoolValue() 962 cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(); in EmitMachineConstantPoolValue() 964 } else if (ACPV->isGlobalValue()) { in EmitMachineConstantPoolValue() 965 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in EmitMachineConstantPoolValue() 971 } else if (ACPV->isMachineBasicBlock()) { in EmitMachineConstantPoolValue() 972 const MachineBasicBlock *MBB = cast<ARMConstantPoolMBB>(ACPV)->getMBB(); in EmitMachineConstantPoolValue() 975 assert(ACPV->isExtSymbol() && "unrecognized constant pool value"); in EmitMachineConstantPoolValue() 976 const char *Sym = cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(); in EmitMachineConstantPoolValue() [all …]
|
D | ARMBaseInstrInfo.cpp | 1370 ARMConstantPoolValue *ACPV = in duplicateCPV() local 1381 if (ACPV->isGlobalValue()) in duplicateCPV() 1383 cast<ARMConstantPoolConstant>(ACPV)->getGV(), PCLabelId, ARMCP::CPValue, in duplicateCPV() 1384 4, ACPV->getModifier(), ACPV->mustAddCurrentAddress()); in duplicateCPV() 1385 else if (ACPV->isExtSymbol()) in duplicateCPV() 1388 cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(), PCLabelId, 4); in duplicateCPV() 1389 else if (ACPV->isBlockAddress()) in duplicateCPV() 1391 Create(cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(), PCLabelId, in duplicateCPV() 1393 else if (ACPV->isLSDA()) in duplicateCPV() 1396 else if (ACPV->isMachineBasicBlock()) in duplicateCPV() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 87 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 …]
|
D | ARMConstantPoolValue.h | 124 virtual bool hasSameValue(ARMConstantPoolValue *ACPV); 195 bool hasSameValue(ARMConstantPoolValue *ACPV) override; 233 bool hasSameValue(ARMConstantPoolValue *ACPV) override; 237 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument 238 return ACPV->isExtSymbol(); in classof() 269 bool hasSameValue(ARMConstantPoolValue *ACPV) override; 273 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument 274 return ACPV->isMachineBasicBlock(); in classof()
|
D | ARMAsmPrinter.cpp | 838 ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV); in EmitMachineConstantPoolValue() local 840 if (ACPV->isPromotedGlobal()) { in EmitMachineConstantPoolValue() 850 auto *ACPC = cast<ARMConstantPoolConstant>(ACPV); in EmitMachineConstantPoolValue() 862 if (ACPV->isLSDA()) { in EmitMachineConstantPoolValue() 864 } else if (ACPV->isBlockAddress()) { in EmitMachineConstantPoolValue() 866 cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(); in EmitMachineConstantPoolValue() 868 } else if (ACPV->isGlobalValue()) { in EmitMachineConstantPoolValue() 869 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in EmitMachineConstantPoolValue() 875 } else if (ACPV->isMachineBasicBlock()) { in EmitMachineConstantPoolValue() 876 const MachineBasicBlock *MBB = cast<ARMConstantPoolMBB>(ACPV)->getMBB(); in EmitMachineConstantPoolValue() [all …]
|
D | ARMBaseInstrInfo.cpp | 1539 ARMConstantPoolValue *ACPV = in duplicateCPV() local 1550 if (ACPV->isGlobalValue()) in duplicateCPV() 1552 cast<ARMConstantPoolConstant>(ACPV)->getGV(), PCLabelId, ARMCP::CPValue, in duplicateCPV() 1553 4, ACPV->getModifier(), ACPV->mustAddCurrentAddress()); in duplicateCPV() 1554 else if (ACPV->isExtSymbol()) in duplicateCPV() 1557 cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(), PCLabelId, 4); in duplicateCPV() 1558 else if (ACPV->isBlockAddress()) in duplicateCPV() 1560 Create(cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(), PCLabelId, in duplicateCPV() 1562 else if (ACPV->isLSDA()) in duplicateCPV() 1565 else if (ACPV->isMachineBasicBlock()) in duplicateCPV() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 76 ARMConstantPoolValue::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument 77 if (ACPV->Kind == Kind && in hasSameValue() 78 ACPV->PCAdjust == PCAdjust && in hasSameValue() 79 ACPV->Modifier == Modifier) { in hasSameValue() 80 if (ACPV->LabelId == LabelId) in hasSameValue() 184 bool ARMConstantPoolConstant::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument 185 const ARMConstantPoolConstant *ACPC = dyn_cast<ARMConstantPoolConstant>(ACPV); in hasSameValue() 186 return ACPC && ACPC->CVal == CVal && ARMConstantPoolValue::hasSameValue(ACPV); in hasSameValue() 250 bool ARMConstantPoolSymbol::hasSameValue(ARMConstantPoolValue *ACPV) { in hasSameValue() argument 251 const ARMConstantPoolSymbol *ACPS = dyn_cast<ARMConstantPoolSymbol>(ACPV); in hasSameValue() [all …]
|
D | ARMConstantPoolValue.h | 94 virtual bool hasSameValue(ARMConstantPoolValue *ACPV); 153 virtual bool hasSameValue(ARMConstantPoolValue *ACPV); 188 virtual bool hasSameValue(ARMConstantPoolValue *ACPV); 192 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument 193 return ACPV->isExtSymbol(); in classof() 221 virtual bool hasSameValue(ARMConstantPoolValue *ACPV); 225 static bool classof(const ARMConstantPoolValue *ACPV) { in classof() argument 226 return ACPV->isMachineBasicBlock(); in classof()
|
D | ARMJITInfo.cpp | 254 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()
|
D | ARMAsmPrinter.cpp | 845 ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV); in EmitMachineConstantPoolValue() local 848 if (ACPV->isLSDA()) { in EmitMachineConstantPoolValue() 853 } else if (ACPV->isBlockAddress()) { in EmitMachineConstantPoolValue() 855 cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(); in EmitMachineConstantPoolValue() 857 } else if (ACPV->isGlobalValue()) { in EmitMachineConstantPoolValue() 858 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in EmitMachineConstantPoolValue() 860 } else if (ACPV->isMachineBasicBlock()) { in EmitMachineConstantPoolValue() 861 const MachineBasicBlock *MBB = cast<ARMConstantPoolMBB>(ACPV)->getMBB(); in EmitMachineConstantPoolValue() 864 assert(ACPV->isExtSymbol() && "unrecognized constant pool value"); in EmitMachineConstantPoolValue() 865 const char *Sym = cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(); in EmitMachineConstantPoolValue() [all …]
|
D | ARMCodeEmitter.cpp | 347 intptr_t ACPV = 0) const; 468 intptr_t ACPV) const { in emitGlobalAddress() 472 ACPV, MayNeedFarStub) in emitGlobalAddress() 474 const_cast<GlobalValue *>(GV), ACPV, in emitGlobalAddress() 632 ARMConstantPoolValue *ACPV = in emitConstPoolInstruction() local 636 << (void*)MCE.getCurrentPCValue() << " " << *ACPV << '\n'); in emitConstPoolInstruction() 638 assert(ACPV->isGlobalValue() && "unsupported constant pool value"); in emitConstPoolInstruction() 639 const GlobalValue *GV = cast<ARMConstantPoolConstant>(ACPV)->getGV(); in emitConstPoolInstruction() 645 (intptr_t)ACPV); in emitConstPoolInstruction() 647 const char *Sym = cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(); in emitConstPoolInstruction()
|
D | ARMBaseInstrInfo.cpp | 1084 ARMConstantPoolValue *ACPV = in duplicateCPV() local 1094 if (ACPV->isGlobalValue()) in duplicateCPV() 1096 Create(cast<ARMConstantPoolConstant>(ACPV)->getGV(), PCLabelId, in duplicateCPV() 1098 else if (ACPV->isExtSymbol()) in duplicateCPV() 1101 cast<ARMConstantPoolSymbol>(ACPV)->getSymbol(), PCLabelId, 4); in duplicateCPV() 1102 else if (ACPV->isBlockAddress()) in duplicateCPV() 1104 Create(cast<ARMConstantPoolConstant>(ACPV)->getBlockAddress(), PCLabelId, in duplicateCPV() 1106 else if (ACPV->isLSDA()) in duplicateCPV() 1109 else if (ACPV->isMachineBasicBlock()) in duplicateCPV() 1112 cast<ARMConstantPoolMBB>(ACPV)->getMBB(), PCLabelId, 4); in duplicateCPV()
|