Home
last modified time | relevance | path

Searched refs:getTargetFlags (Results 1 – 25 of 160) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp39 unsigned TargetFlags = MO.getTargetFlags(); in GetGlobalAddressSymbol()
84 if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) { in lowerSymbolOperandDarwin()
85 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
87 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
92 } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) { in lowerSymbolOperandDarwin()
93 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
95 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
101 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
103 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
118 if (MO.getTargetFlags() & AArch64II::MO_GOT) in lowerSymbolOperandELF()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp39 unsigned TargetFlags = MO.getTargetFlags(); in GetGlobalAddressSymbol()
84 if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) { in lowerSymbolOperandDarwin()
85 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
87 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
92 } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) { in lowerSymbolOperandDarwin()
93 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
95 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
101 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
103 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
118 if (MO.getTargetFlags() & AArch64II::MO_GOT) in lowerSymbolOperandELF()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp49 if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) { in lowerSymbolOperandDarwin()
50 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
52 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
57 } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) { in lowerSymbolOperandDarwin()
58 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
60 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
66 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
68 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
83 if (MO.getTargetFlags() & AArch64II::MO_GOT) in lowerSymbolOperandELF()
85 else if (MO.getTargetFlags() & AArch64II::MO_TLS) { in lowerSymbolOperandELF()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineStableHash.cpp74 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in stableHashValue()
81 return hash_combine(MO.getType(), MO.getTargetFlags(), ValHash); in stableHashValue()
101 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
110 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
114 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in stableHashValue()
119 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getRegMask()); in stableHashValue()
128 return hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
134 return hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
138 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
141 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), in stableHashValue()
[all …]
DMachineOperand.cpp284 getTargetFlags() != Other.getTargetFlags()) in isIdenticalTo()
357 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
359 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
361 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
363 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
365 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
368 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
371 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
373 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
376 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
DMIRVRegNamerUtils.cpp73 return hash_combine(MO.getType(), MO.getTargetFlags(), in getInstructionOpcodeHash()
77 MO.getType(), MO.getTargetFlags(), in getInstructionOpcodeHash()
86 return MO.getOffset() | (MO.getTargetFlags() << 16); in getInstructionOpcodeHash()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp58 unsigned access = MO.getTargetFlags() & PPCII::MO_ACCESS_MASK; in GetSymbolRef()
77 bool IsPCRel = (MO.getTargetFlags() & ~access) == PPCII::MO_PCREL_FLAG; in GetSymbolRef()
83 if (MO.getTargetFlags() == PPCII::MO_PLT) in GetSymbolRef()
85 else if (MO.getTargetFlags() == PPCII::MO_PCREL_FLAG) in GetSymbolRef()
87 else if (MO.getTargetFlags() == (PPCII::MO_PCREL_FLAG | PPCII::MO_GOT_FLAG)) in GetSymbolRef()
89 else if (MO.getTargetFlags() == (PPCII::MO_PCREL_FLAG | PPCII::MO_TPREL_FLAG)) in GetSymbolRef()
91 else if (MO.getTargetFlags() == PPCII::MO_GOT_TLSGD_PCREL_FLAG) in GetSymbolRef()
93 else if (MO.getTargetFlags() == PPCII::MO_GOT_TLSLD_PCREL_FLAG) in GetSymbolRef()
95 else if (MO.getTargetFlags() == PPCII::MO_GOT_TPREL_PCREL_FLAG) in GetSymbolRef()
113 if (MO.getTargetFlags() == PPCII::MO_PCREL_OPT_FLAG) in GetSymbolRef()
[all …]
DPPCTLSDynamicCall.cpp112 Opc2 = MI.getOperand(2).getTargetFlags() == in processBlock()
176 (MI.getOperand(2).getTargetFlags() == in isPCREL()
178 MI.getOperand(2).getTargetFlags() == in isPCREL()
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp33 switch (MO.getTargetFlags()) { in GetGlobalAddressSymbol()
43 switch (MO.getTargetFlags()) { in GetExternalSymbolSymbol()
59 switch (MO.getTargetFlags()) { in GetJumpTableSymbol()
76 switch (MO.getTargetFlags()) { in GetConstantPoolIndexSymbol()
87 switch (MO.getTargetFlags()) { in GetBlockAddressSymbol()
101 switch (MO.getTargetFlags()) { in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp32 switch (MO.getTargetFlags()) { in GetGlobalAddressSymbol()
42 switch (MO.getTargetFlags()) { in GetExternalSymbolSymbol()
58 switch (MO.getTargetFlags()) { in GetJumpTableSymbol()
75 switch (MO.getTargetFlags()) { in GetConstantPoolIndexSymbol()
86 switch (MO.getTargetFlags()) { in GetBlockAddressSymbol()
100 switch (MO.getTargetFlags()) { in LowerSymbolOperand()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp32 switch (MO.getTargetFlags()) { in GetGlobalAddressSymbol()
42 switch (MO.getTargetFlags()) { in GetExternalSymbolSymbol()
58 switch (MO.getTargetFlags()) { in GetJumpTableSymbol()
75 switch (MO.getTargetFlags()) { in GetConstantPoolIndexSymbol()
86 switch (MO.getTargetFlags()) { in GetBlockAddressSymbol()
100 switch (MO.getTargetFlags()) { in LowerSymbolOperand()
/external/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp157 if (!Op1.isImm() && Op1.getTargetFlags() != HexagonII::MO_NO_FLAG) in isCombinableInstType()
647 HiOperand.getTargetFlags()) in emitCombineII()
655 LoOperand.getTargetFlags()); in emitCombineII()
663 HiOperand.getTargetFlags()) in emitCombineII()
671 LoOperand.getTargetFlags()); in emitCombineII()
678 .addJumpTableIndex(HiOperand.getIndex(), HiOperand.getTargetFlags()) in emitCombineII()
685 .addJumpTableIndex(LoOperand.getIndex(), LoOperand.getTargetFlags()); in emitCombineII()
693 HiOperand.getTargetFlags()) in emitCombineII()
701 LoOperand.getTargetFlags()); in emitCombineII()
744 HiOperand.getTargetFlags()) in emitCombineIR()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp45 if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) in GetSymbolFromOperand()
64 if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) { in GetSymbolFromOperand()
86 unsigned access = MO.getTargetFlags() & PPCII::MO_ACCESS_MASK; in GetSymbolRef()
109 if (MO.getTargetFlags() == PPCII::MO_PLT) in GetSymbolRef()
120 MO.getTargetFlags() == PPCII::MO_PLT) in GetSymbolRef()
130 if (MO.getTargetFlags() & PPCII::MO_PIC_FLAG) { in GetSymbolRef()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp153 if (!Op1.isImm() && Op1.getTargetFlags() != HexagonII::MO_NO_FLAG) in isCombinableInstType()
674 HiOperand.getTargetFlags()) in emitCombineII()
682 LoOperand.getTargetFlags()); in emitCombineII()
690 HiOperand.getTargetFlags()) in emitCombineII()
698 LoOperand.getTargetFlags()); in emitCombineII()
705 .addJumpTableIndex(HiOperand.getIndex(), HiOperand.getTargetFlags()) in emitCombineII()
712 .addJumpTableIndex(LoOperand.getIndex(), LoOperand.getTargetFlags()); in emitCombineII()
720 HiOperand.getTargetFlags()) in emitCombineII()
728 LoOperand.getTargetFlags()); in emitCombineII()
771 HiOperand.getTargetFlags()) in emitCombineIR()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp155 if (!Op1.isImm() && Op1.getTargetFlags() != HexagonII::MO_NO_FLAG) in isCombinableInstType()
680 HiOperand.getTargetFlags()) in emitCombineII()
688 LoOperand.getTargetFlags()); in emitCombineII()
696 HiOperand.getTargetFlags()) in emitCombineII()
704 LoOperand.getTargetFlags()); in emitCombineII()
711 .addJumpTableIndex(HiOperand.getIndex(), HiOperand.getTargetFlags()) in emitCombineII()
718 .addJumpTableIndex(LoOperand.getIndex(), LoOperand.getTargetFlags()); in emitCombineII()
726 HiOperand.getTargetFlags()) in emitCombineII()
734 LoOperand.getTargetFlags()); in emitCombineII()
777 HiOperand.getTargetFlags()) in emitCombineIR()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOperand.cpp277 getTargetFlags() != Other.getTargetFlags()) in isIdenticalTo()
350 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
352 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
354 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
356 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
358 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
361 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
364 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
366 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
369 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
DMIRVRegNamerUtils.cpp57 return hash_combine(MO.getType(), MO.getTargetFlags(), in getInstructionOpcodeHash()
61 MO.getType(), MO.getTargetFlags(), in getInstructionOpcodeHash()
70 return MO.getOffset() | (MO.getTargetFlags() << 16); in getInstructionOpcodeHash()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp46 if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) in GetSymbolFromOperand()
65 if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) { in GetSymbolFromOperand()
87 unsigned access = MO.getTargetFlags() & PPCII::MO_ACCESS_MASK; in GetSymbolRef()
110 if (MO.getTargetFlags() == PPCII::MO_PLT) in GetSymbolRef()
121 if (MO.getTargetFlags() & PPCII::MO_PIC_FLAG) { in GetSymbolRef()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp98 assert(MO.getTargetFlags() == 0 && in Lower()
106 assert((MO.getTargetFlags() & -2) == 0 && in Lower()
109 MO.getTargetFlags() & 1); in Lower()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp83 HiLUI.getOperand(1).getTargetFlags() != RISCVII::MO_HI || in detectLuiAddiGlobal()
91 LoADDI->getOperand(2).getTargetFlags() != RISCVII::MO_LO || in detectLuiAddiGlobal()
151 if (AddiImmOp.getTargetFlags() != RISCVII::MO_None) in matchLargeOffset()
158 LuiImmOp.getTargetFlags() != RISCVII::MO_None || in matchLargeOffset()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp83 HiLUI.getOperand(1).getTargetFlags() != RISCVII::MO_HI || in INITIALIZE_PASS()
91 LoADDI->getOperand(2).getTargetFlags() != RISCVII::MO_LO || in INITIALIZE_PASS()
151 if (AddiImmOp.getTargetFlags() != RISCVII::MO_None) in matchLargeOffset()
158 LuiImmOp.getTargetFlags() != RISCVII::MO_None || in matchLargeOffset()
/external/llvm-project/llvm/lib/Target/ARM/
DARMMCInstLower.cpp41 if (MO.getTargetFlags() & ARMII::MO_SBREL) in GetSymbolRef()
46 switch (MO.getTargetFlags() & ARMII::MO_OPTION_MASK) { in GetSymbolRef()
92 GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags())); in lowerOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMMCInstLower.cpp41 if (MO.getTargetFlags() & ARMII::MO_SBREL) in GetSymbolRef()
46 switch (MO.getTargetFlags() & ARMII::MO_OPTION_MASK) { in GetSymbolRef()
92 GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags())); in lowerOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp123 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in PrintSymbolOperand()
124 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) in PrintSymbolOperand()
130 if (MO.getTargetFlags() == X86II::MO_DLLIMPORT) in PrintSymbolOperand()
132 else if (MO.getTargetFlags() == X86II::MO_COFFSTUB) in PrintSymbolOperand()
136 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in PrintSymbolOperand()
137 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) { in PrintSymbolOperand()
160 switch (MO.getTargetFlags()) { in PrintSymbolOperand()
/external/llvm-project/llvm/lib/Target/X86/
DX86AsmPrinter.cpp126 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in PrintSymbolOperand()
127 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) in PrintSymbolOperand()
133 if (MO.getTargetFlags() == X86II::MO_DLLIMPORT) in PrintSymbolOperand()
135 else if (MO.getTargetFlags() == X86II::MO_COFFSTUB) in PrintSymbolOperand()
139 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in PrintSymbolOperand()
140 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) { in PrintSymbolOperand()
163 switch (MO.getTargetFlags()) { in PrintSymbolOperand()

1234567