Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:GA

1099 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
1106 GA &&
1107 !GA->getGlobal()->isDeclaration() &&
1108 !GA->getGlobal()->isWeakForLinker())
2588 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA,
2592 GA = GASD->getGlobal();
2600 if (isGAPlusOffset(N1.getNode(), GA, Offset)) {
2606 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) {
2703 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op);
2708 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0));
2709 if (C == 0 || GA == 0) {
2711 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(1));
2713 if (C == 0 || GA == 0)
2714 C = 0, GA = 0;
2719 if (GA) { // Either &GV or &GV+C
2721 int64_t Offs = GA->getOffset();
2723 Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(),