Lines Matching refs:BaseGV
223 cl::desc("Allow combining of BaseGV field in Address sinking."));
2303 if (BaseGV && other.BaseGV &&
2304 BaseGV->getType() != other.BaseGV->getType())
2318 if (BaseGV != other.BaseGV)
2338 // An AddrMode is (BaseGV + BaseReg + BaseOffs + ScaleReg * Scale) so it is
2339 // trivial if at most one of these terms is nonzero, except that BaseGV and
2342 return !BaseOffs && !Scale && !(BaseGV && BaseReg);
2352 return BaseGV;
2370 // A combined BaseGV is an Instruction, not a GlobalValue, so it goes
2374 BaseGV = nullptr;
2414 if (BaseGV) {
2417 BaseGV->printAsOperand(OS, /*PrintType=*/false);
4544 if (!AddrMode.BaseGV) {
4545 AddrMode.BaseGV = GV;
4548 AddrMode.BaseGV = nullptr;
4913 // BaseGV + Base + Scale * Index + Offset
4914 // where Scale and Offset are constans and BaseGV, Base and Index
4916 // It means that BaseGV, Scale and Offset dominate our memory instruction
5045 if (AddrMode.BaseGV) {
5049 ResultPtr = AddrMode.BaseGV;
5154 (AddrMode.BaseGV &&
5155 DL->isNonIntegralPointerType(AddrMode.BaseGV->getType())))
5207 // Add in the BaseGV if present.
5208 if (AddrMode.BaseGV) {
5209 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr");