reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3438 EVT PtrVT = getPointerTy(DAG.getDataLayout()); 3446 if (SDValue V = promoteToConstantPool(this, GV, DAG, PtrVT, dl)) 3451 SDValue G = DAG.getTargetGlobalAddress(GV, dl, PtrVT, 0, 3453 SDValue Result = DAG.getNode(ARMISD::WrapperPIC, dl, PtrVT, G); 3456 DAG.getLoad(PtrVT, dl, DAG.getEntryNode(), Result, 3456 DAG.getLoad(PtrVT, dl, DAG.getEntryNode(), Result, 3457 MachinePointerInfo::getGOT(DAG.getMachineFunction())); 3461 SDValue G = DAG.getTargetGlobalAddress(GV, dl, PtrVT); 3462 SDValue Result = DAG.getNode(ARMISD::WrapperPIC, dl, PtrVT, G); 3469 SDValue G = DAG.getTargetGlobalAddress(GV, dl, PtrVT, 0, ARMII::MO_SBREL); 3470 RelAddr = DAG.getNode(ARMISD::Wrapper, dl, PtrVT, G); 3474 SDValue CPAddr = DAG.getTargetConstantPool(CPV, PtrVT, 4); 3475 CPAddr = DAG.getNode(ARMISD::Wrapper, dl, MVT::i32, CPAddr); 3476 RelAddr = DAG.getLoad( 3477 PtrVT, dl, DAG.getEntryNode(), CPAddr, 3478 MachinePointerInfo::getConstantPool(DAG.getMachineFunction())); 3480 SDValue SB = DAG.getCopyFromReg(DAG.getEntryNode(), dl, ARM::R9, PtrVT); 3480 SDValue SB = DAG.getCopyFromReg(DAG.getEntryNode(), dl, ARM::R9, PtrVT); 3481 SDValue Result = DAG.getNode(ISD::ADD, dl, PtrVT, SB, RelAddr); 3491 return DAG.getNode(ARMISD::Wrapper, dl, PtrVT, 3492 DAG.getTargetGlobalAddress(GV, dl, PtrVT)); 3494 SDValue CPAddr = DAG.getTargetConstantPool(GV, PtrVT, 4); 3495 CPAddr = DAG.getNode(ARMISD::Wrapper, dl, MVT::i32, CPAddr); 3496 return DAG.getLoad( 3497 PtrVT, dl, DAG.getEntryNode(), CPAddr, 3498 MachinePointerInfo::getConstantPool(DAG.getMachineFunction()));