Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:GA

261 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
268 GA &&
269 !GA->getGlobal()->isDeclaration() &&
270 !GA->getGlobal()->isWeakForLinker())
2032 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA,
2036 GA = GASD->getGlobal();
2044 if (isGAPlusOffset(N1.getNode(), GA, Offset)) {
2050 } else if (isGAPlusOffset(N2.getNode(), GA, Offset)) {
2151 GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(Op);
2156 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(0));
2157 if (!C || !GA) {
2159 GA = dyn_cast<GlobalAddressSDNode>(Op.getOperand(1));
2161 if (!C || !GA)
2162 C = nullptr, GA = nullptr;
2167 if (GA) { // Either &GV or &GV+C
2169 int64_t Offs = GA->getOffset();
2171 Ops.push_back(DAG.getTargetGlobalAddress(GA->getGlobal(),