Lines Matching refs:GA
257 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
264 GA && in isOffsetFoldingLegal()
265 !GA->getGlobal()->isDeclaration() && in isOffsetFoldingLegal()
266 !GA->getGlobal()->isWeakForLinker()) in isOffsetFoldingLegal()
1900 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, in isGAPlusOffset() argument
1904 GA = GASD->getGlobal(); in isGAPlusOffset()
1912 if (isGAPlusOffset(N1.getNode(), GA, Offset)) { in isGAPlusOffset()
1918 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) { in isGAPlusOffset()
2019 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); in LowerAsmOperandForConstraint() local
2024 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0)); in LowerAsmOperandForConstraint()
2025 if (C == 0 || GA == 0) { in LowerAsmOperandForConstraint()
2027 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(1)); in LowerAsmOperandForConstraint()
2029 if (C == 0 || GA == 0) in LowerAsmOperandForConstraint()
2030 C = 0, GA = 0; in LowerAsmOperandForConstraint()
2035 if (GA) { // Either &GV or &GV+C in LowerAsmOperandForConstraint()
2037 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint()
2039 Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(), in LowerAsmOperandForConstraint()