Lines Matching defs:BaseGV
236 cl::desc("Allow combining of BaseGV field in Address sinking."));
3083 if (BaseGV && other.BaseGV && BaseGV->getType() != other.BaseGV->getType())
3097 if (BaseGV != other.BaseGV)
3117 // An AddrMode is (BaseGV + BaseReg + BaseOffs + ScaleReg * Scale) so it is
3118 // trivial if at most one of these terms is nonzero, except that BaseGV and
3121 return !BaseOffs && !Scale && !(BaseGV && BaseReg);
3131 return BaseGV;
3149 // A combined BaseGV is an Instruction, not a GlobalValue, so it goes
3153 BaseGV = nullptr;
3191 if (BaseGV) {
3193 BaseGV->printAsOperand(OS, /*PrintType=*/false);
5403 if (!AddrMode.BaseGV) {
5404 AddrMode.BaseGV = GV;
5407 AddrMode.BaseGV = nullptr;
5765 // BaseGV + Base + Scale * Index + Offset
5766 // where Scale and Offset are constans and BaseGV, Base and Index
5768 // It means that BaseGV, Scale and Offset dominate our memory instruction
5915 GlobalValue *BaseGV = AddrMode.BaseGV;
5916 if (BaseGV != nullptr) {
5920 if (BaseGV->isThreadLocal()) {
5921 ResultPtr = Builder.CreateThreadLocalAddress(BaseGV);
5923 ResultPtr = BaseGV;
6035 (AddrMode.BaseGV &&
6036 DL->isNonIntegralPointerType(AddrMode.BaseGV->getType())))
6088 // Add in the BaseGV if present.
6089 GlobalValue *BaseGV = AddrMode.BaseGV;
6090 if (BaseGV != nullptr) {
6092 if (BaseGV->isThreadLocal()) {
6093 BaseGVPtr = Builder.CreateThreadLocalAddress(BaseGV);
6095 BaseGVPtr = BaseGV;