Lines Matching defs:GA
258 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
265 GA &&
266 !GA->getGlobal()->isDeclaration() &&
267 !GA->getGlobal()->isWeakForLinker())
2005 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA,
2009 GA = GASD->getGlobal();
2017 if (isGAPlusOffset(N1.getNode(), GA, Offset)) {
2023 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) {
2124 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op);
2129 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0));
2130 if (!C || !GA) {
2132 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(1));
2134 if (!C || !GA)
2135 C = nullptr, GA = nullptr;
2140 if (GA) { // Either &GV or &GV+C
2142 int64_t Offs = GA->getOffset();
2144 Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(),