Lines Matching refs:GA
239 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { in isOffsetFoldingLegal()
246 GA && in isOffsetFoldingLegal()
247 !GA->getGlobal()->isDeclaration() && in isOffsetFoldingLegal()
248 !GA->getGlobal()->isWeakForLinker()) in isOffsetFoldingLegal()
1829 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA, in isGAPlusOffset() argument
1833 GA = GASD->getGlobal(); in isGAPlusOffset()
1841 if (isGAPlusOffset(N1.getNode(), GA, Offset)) { in isGAPlusOffset()
1847 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) { in isGAPlusOffset()
1948 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op); in LowerAsmOperandForConstraint() local
1953 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0)); in LowerAsmOperandForConstraint()
1954 if (C == 0 || GA == 0) { in LowerAsmOperandForConstraint()
1956 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(1)); in LowerAsmOperandForConstraint()
1958 if (C == 0 || GA == 0) in LowerAsmOperandForConstraint()
1959 C = 0, GA = 0; in LowerAsmOperandForConstraint()
1964 if (GA) { // Either &GV or &GV+C in LowerAsmOperandForConstraint()
1966 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint()
1968 Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(), in LowerAsmOperandForConstraint()