reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/MachineInstrBuilder.h
  282       TargetFlags = Disp.getTargetFlags();
lib/CodeGen/MachineOperand.cpp
  276       getTargetFlags() != Other.getTargetFlags())
  276       getTargetFlags() != Other.getTargetFlags())
  349     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm());
  351     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm());
  353     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm());
  355     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB());
  357     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex());
  360     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(),
  363     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex());
  365     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(),
  368     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(),
  371     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getBlockAddress(),
  375     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getRegMask());
  377     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMetadata());
  379     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMCSymbol());
  381     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCFIIndex());
  383     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIntrinsicID());
  385     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getPredicate());
  387     return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getShuffleMask());
  536   if (!Op.getTargetFlags())
  544   auto Flags = TII->decomposeMachineOperandsTargetFlags(Op.getTargetFlags());
lib/Target/AArch64/AArch64CollectLOH.cpp
  191       return MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT;
  238     return !(MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT);
  319              MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT) {
  366     assert((MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT) &&
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
  480     unsigned Flags = MO1.getTargetFlags();
  507         unsigned DstFlags = MI.getOperand(0).getTargetFlags();
  556     if (MI.getOperand(1).getTargetFlags() & AArch64II::MO_TAGGED) {
lib/Target/AArch64/AArch64MCInstLower.cpp
   39   unsigned TargetFlags = MO.getTargetFlags();
   84   if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) {
   85     if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE)
   87     else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) ==
   92   } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) {
   93     if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE)
   95     else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) ==
  101     if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE)
  103     else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) ==
  118   if (MO.getTargetFlags() & AArch64II::MO_GOT)
  120   else if (MO.getTargetFlags() & AArch64II::MO_TLS) {
  151   } else if (MO.getTargetFlags() & AArch64II::MO_PREL) {
  159   if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE)
  161   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) ==
  164   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G3)
  166   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G2)
  168   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G1)
  170   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G0)
  172   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_HI12)
  175   if (MO.getTargetFlags() & AArch64II::MO_NC)
  195   if (MO.getTargetFlags() & AArch64II::MO_TLS) {
  196     if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGEOFF)
  198     else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) ==
  202   } else if (MO.getTargetFlags() & AArch64II::MO_S) {
  208   if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G3)
  210   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G2)
  212   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G1)
  214   else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_G0)
  220   if (MO.getTargetFlags() & AArch64II::MO_NC) {
  221     auto MOFrag = (MO.getTargetFlags() & AArch64II::MO_FRAGMENT);
lib/Target/AArch64/AArch64RegisterInfo.cpp
  461       MI.getOperand(FIOperandNum).getTargetFlags() & AArch64II::MO_TAGGED;
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  119   if (MO.getTargetFlags() == SIInstrInfo::MO_LONG_BRANCH_FORWARD)
  122   assert(MO.getTargetFlags() == SIInstrInfo::MO_LONG_BRANCH_BACKWARD);
  138     if (MO.getTargetFlags() != 0) {
  154       MCSymbolRefExpr::create(Sym, getVariantKind(MO.getTargetFlags()),Ctx);
lib/Target/AMDGPU/SIFoldOperands.cpp
  292                    Fold.OpToFold->getTargetFlags());
lib/Target/AMDGPU/SIShrinkInstructions.cpp
  100                           MovSrc.getTargetFlags());
lib/Target/ARM/ARMAsmPrinter.cpp
  190   unsigned TF = MO.getTargetFlags();
  219     unsigned TF = MO.getTargetFlags();
 1382     const unsigned TF = Op.getTargetFlags();
 1398     unsigned TF = MI->getOperand(1).getTargetFlags();
 1431     unsigned TF = MI->getOperand(2).getTargetFlags();
 1480             GetARMGVSymbol(GV, MI->getOperand(1).getTargetFlags()), OutContext);
lib/Target/ARM/ARMConstantIslandPass.cpp
 1427       (MI->getOperand(2).getTargetFlags() & ARMII::MO_OPTION_MASK) ==
 1431            (MI->getOperand(1).getTargetFlags() & ARMII::MO_OPTION_MASK) ==
 1975             .addMBB(DestBB, Br.MI->getOperand(0).getTargetFlags());
 2300             .addJumpTableIndex(JTI, JTOP.getTargetFlags())
lib/Target/ARM/ARMExpandPseudoInsts.cpp
  894     unsigned TF = MO.getTargetFlags();
  901     unsigned TF = MO.getTargetFlags();
 1185                                JumpTarget.getTargetFlags());
 1189                                 JumpTarget.getTargetFlags());
 1475       auto Flags = MO1.getTargetFlags();
 1534       unsigned TF = MO1.getTargetFlags();
lib/Target/ARM/ARMMCInstLower.cpp
   41   if (MO.getTargetFlags() & ARMII::MO_SBREL)
   46   switch (MO.getTargetFlags() & ARMII::MO_OPTION_MASK) {
   92                         GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags()));
lib/Target/AVR/AVRExpandPseudoInsts.cpp
  293     unsigned TF = MI.getOperand(2).getTargetFlags();
  504     unsigned TF = MI.getOperand(1).getTargetFlags();
  512     unsigned TF = MI.getOperand(1).getTargetFlags();
  553     unsigned TF = MI.getOperand(1).getTargetFlags();
  985     unsigned TF = MI.getOperand(0).getTargetFlags();
lib/Target/AVR/AVRMCInstLower.cpp
   28   unsigned char TF = MO.getTargetFlags();
lib/Target/Hexagon/HexagonConstExtenders.cpp
  714   TF = Op.getTargetFlags();
lib/Target/Hexagon/HexagonCopyToCombine.cpp
  153     if (!Op1.isImm() && Op1.getTargetFlags() != HexagonII::MO_NO_FLAG)
  674                         HiOperand.getTargetFlags())
  682                         LoOperand.getTargetFlags());
  690                        HiOperand.getTargetFlags())
  698                        LoOperand.getTargetFlags());
  705       .addJumpTableIndex(HiOperand.getIndex(), HiOperand.getTargetFlags())
  712       .addJumpTableIndex(LoOperand.getIndex(), LoOperand.getTargetFlags());
  720                             HiOperand.getTargetFlags())
  728                             LoOperand.getTargetFlags());
  771                         HiOperand.getTargetFlags())
  779                        HiOperand.getTargetFlags())
  786       .addJumpTableIndex(HiOperand.getIndex(), HiOperand.getTargetFlags())
  794                             HiOperand.getTargetFlags())
  820                         LoOperand.getTargetFlags());
  828                        LoOperand.getTargetFlags());
  835       .addJumpTableIndex(LoOperand.getIndex(), LoOperand.getTargetFlags());
  843                             LoOperand.getTargetFlags());
lib/Target/Hexagon/HexagonInstrInfo.cpp
 2046   if (MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended)
 2205     if (MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended)
lib/Target/Hexagon/HexagonMCInstLower.cpp
   49   switch (MO.getTargetFlags() & ~HexagonII::HMOTF_ConstExtended) {
  115     bool MustExtend = MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended;
lib/Target/Hexagon/HexagonOptAddrMode.cpp
  513       MIB.addGlobalAddress(GV, Offset, ImmOp.getTargetFlags());
  569       MIB.addGlobalAddress(GV, Offset, ImmOp.getTargetFlags());
  645                            ImmOp.getTargetFlags());
  652                            ImmOp.getTargetFlags());
lib/Target/Lanai/LanaiMCInstLower.cpp
   70   switch (MO.getTargetFlags()) {
lib/Target/MSP430/MSP430MCInstLower.cpp
   32   switch (MO.getTargetFlags()) {
   42   switch (MO.getTargetFlags()) {
   58   switch (MO.getTargetFlags()) {
   75   switch (MO.getTargetFlags()) {
   86   switch (MO.getTargetFlags()) {
  100   switch (MO.getTargetFlags()) {
lib/Target/Mips/MipsAsmPrinter.cpp
  169     if (MO.isMCSymbol() && (MO.getTargetFlags() & MipsII::MO_JALR)) {
  660   if (MO.getTargetFlags())
  663   switch(MO.getTargetFlags()) {
lib/Target/Mips/MipsInstrInfo.cpp
  661       if (MO.isMCSymbol() && (MO.getTargetFlags() & MipsII::MO_JALR))
lib/Target/Mips/MipsInstructionSelector.cpp
  563       if (I.getOperand(1).getTargetFlags() == MipsII::MO_GOT_CALL)
lib/Target/Mips/MipsMCInstLower.cpp
   43   switch(MO.getTargetFlags()) {
  224   unsigned TargetFlags = MI->getOperand(1).getTargetFlags();
  259   unsigned TargetFlags = MI->getOperand(2).getTargetFlags();
lib/Target/Mips/MipsOptimizePICCall.cpp
  290   unsigned Flags = DefMI->getOperand(2).getTargetFlags();
lib/Target/PowerPC/PPCMCInstLower.cpp
   45   if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG)
   64   if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) {
   86   unsigned access = MO.getTargetFlags() & PPCII::MO_ACCESS_MASK;
  109  if (MO.getTargetFlags() == PPCII::MO_PLT)
  120       MO.getTargetFlags() == PPCII::MO_PLT)
  130   if (MO.getTargetFlags() & PPCII::MO_PIC_FLAG) {
lib/Target/PowerPC/PPCTOCRegDeps.cpp
  103         if ((MO.getTargetFlags() & PPCII::MO_ACCESS_MASK) == PPCII::MO_TOC_LO)
lib/Target/RISCV/RISCVMCInstLower.cpp
   33   switch (MO.getTargetFlags()) {
lib/Target/RISCV/RISCVMergeBaseOffset.cpp
   83       HiLUI.getOperand(1).getTargetFlags() != RISCVII::MO_HI ||
   91       LoADDI->getOperand(2).getTargetFlags() != RISCVII::MO_LO ||
  151     if (AddiImmOp.getTargetFlags() != RISCVII::MO_None)
  158         LuiImmOp.getTargetFlags() != RISCVII::MO_None ||
lib/Target/Sparc/SparcAsmPrinter.cpp
  295   SparcMCExpr::VariantKind TF = (SparcMCExpr::VariantKind) MO.getTargetFlags();
lib/Target/Sparc/SparcMCInstLower.cpp
   34     (SparcMCExpr::VariantKind)MO.getTargetFlags();
lib/Target/SystemZ/SystemZMCInstLower.cpp
   88     MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags());
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  128   unsigned TargetFlags = MO.getTargetFlags();
  291       assert(MO.getTargetFlags() == 0 &&
  298       assert(MO.getTargetFlags() == 0 &&
lib/Target/X86/X86AsmPrinter.cpp
  123     if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY ||
  124         MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE)
  130     if (MO.getTargetFlags() == X86II::MO_DLLIMPORT)
  132     else if (MO.getTargetFlags() == X86II::MO_COFFSTUB)
  136     if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY ||
  137         MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) {
  160   switch (MO.getTargetFlags()) {
lib/Target/X86/X86ExpandPseudo.cpp
  248                              JumpTarget.getTargetFlags());
  252                               JumpTarget.getTargetFlags());
lib/Target/X86/X86ISelLowering.cpp
30251                               MI.getOperand(3).getTargetFlags())
30263                               MI.getOperand(3).getTargetFlags())
30275                               MI.getOperand(3).getTargetFlags())
lib/Target/X86/X86InstrInfo.cpp
 4851       MI.getOperand(2).getTargetFlags() == X86II::MO_GOT_ABSOLUTE_ADDRESS)
 4858       MOs[X86::AddrDisp].getTargetFlags() == X86II::MO_GOTTPOFF &&
lib/Target/X86/X86MCInstLower.cpp
  127   switch (MO.getTargetFlags()) {
  160   switch (MO.getTargetFlags()) {
  198   switch (MO.getTargetFlags()) {
 2002     if (MI->getOperand(2).getTargetFlags() != X86II::MO_GOT_ABSOLUTE_ADDRESS)
unittests/CodeGen/MachineOperandTest.cpp
   44   ASSERT_TRUE(MO.getTargetFlags() == 12);