• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/

Lines Matching refs:Base

26   if (!Base.getNode() || !Other.Base.getNode())
35 if (Other.Base == Base)
39 if (auto *A = dyn_cast<GlobalAddressSDNode>(Base))
40 if (auto *B = dyn_cast<GlobalAddressSDNode>(Other.Base))
47 if (auto *A = dyn_cast<ConstantPoolSDNode>(Base))
48 if (auto *B = dyn_cast<ConstantPoolSDNode>(Other.Base)) {
66 if (auto *A = dyn_cast<FrameIndexSDNode>(Base))
67 if (auto *B = dyn_cast<FrameIndexSDNode>(Other.Base)) {
172 SDValue Base = DAG.getTargetLoweringInfo().unwrapAddress(Ptr);
192 switch (Base->getOpcode()) {
195 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1)))
196 if (DAG.MaskedValueIsZero(Base->getOperand(0), C->getAPIntValue())) {
198 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
203 if (auto *C = dyn_cast<ConstantSDNode>(Base->getOperand(1))) {
205 Base = DAG.getTargetLoweringInfo().unwrapAddress(Base->getOperand(0));
211 auto *LSBase = cast<LSBaseSDNode>(Base.getNode());
212 unsigned int IndexResNo = (Base->getOpcode() == ISD::LOAD) ? 1 : 0;
213 if (LSBase->isIndexed() && Base.getResNo() == IndexResNo)
221 Base = DAG.getTargetLoweringInfo().unwrapAddress(LSBase->getBasePtr());
231 if (Base->getOpcode() == ISD::ADD) {
236 // MUL instruction. In this case Base is the actual BASE pointer.
240 if (Base->getOperand(1)->getOpcode() == ISD::MUL)
241 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);
243 // Look at Base + Index + Offset cases.
244 Index = Base->getOperand(1);
245 SDValue PotentialBase = Base->getOperand(0);
265 Base = PotentialBase;
267 return BaseIndexOffset(Base, Index, Offset, IsIndexSignExt);
291 Base->print(OS);