Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp39 unsigned TargetFlags = MO.getTargetFlags(); in GetGlobalAddressSymbol()
69 if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) { in lowerSymbolOperandDarwin()
70 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
72 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
77 } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) { in lowerSymbolOperandDarwin()
78 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
80 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
86 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin()
88 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin()
103 if (MO.getTargetFlags() & AArch64II::MO_GOT) in lowerSymbolOperandELF()
[all …]
DAArch64CollectLOH.cpp190 return MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT; in canDefBePartOfLOH()
237 return !(MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT); in isCandidateLoad()
317 MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT) { in handleUse()
362 assert((MI.getOperand(2).getTargetFlags() & AArch64II::MO_GOT) && in handleMiddleInst()
/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/swiftshader/third_party/llvm-7.0/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/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/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 …]
DHexagonMCInstLower.cpp42 switch (MO.getTargetFlags()) { in GetSymbolRef()
108 bool MustExtend = MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended; in HexagonLowerToMC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp154 if (!Op1.isImm() && Op1.getTargetFlags() != HexagonII::MO_NO_FLAG) in isCombinableInstType()
676 HiOperand.getTargetFlags()) in emitCombineII()
684 LoOperand.getTargetFlags()); in emitCombineII()
692 HiOperand.getTargetFlags()) in emitCombineII()
700 LoOperand.getTargetFlags()); in emitCombineII()
707 .addJumpTableIndex(HiOperand.getIndex(), HiOperand.getTargetFlags()) in emitCombineII()
714 .addJumpTableIndex(LoOperand.getIndex(), LoOperand.getTargetFlags()); in emitCombineII()
722 HiOperand.getTargetFlags()) in emitCombineII()
730 LoOperand.getTargetFlags()); in emitCombineII()
773 HiOperand.getTargetFlags()) in emitCombineIR()
[all …]
DHexagonMCInstLower.cpp50 switch (MO.getTargetFlags() & ~HexagonII::HMOTF_ConstExtended) { in GetSymbolRef()
116 bool MustExtend = MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended; in HexagonLowerToMC()
/external/swiftshader/third_party/llvm-7.0/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()
120 MO.getTargetFlags() == PPCII::MO_PLT) in GetSymbolRef()
131 if (MO.getTargetFlags() & PPCII::MO_PIC_FLAG) { in GetSymbolRef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineOperand.cpp262 getTargetFlags() != Other.getTargetFlags()) in isIdenticalTo()
333 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
335 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
337 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
339 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
341 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
344 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
347 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
349 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
352 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
/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-7.0/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp84 HiLUI.getOperand(1).getTargetFlags() != RISCVII::MO_HI || in detectLuiAddiGlobal()
92 LoADDI->getOperand(2).getTargetFlags() != RISCVII::MO_LO || in detectLuiAddiGlobal()
152 if (AddiImmOp.getTargetFlags() != RISCVII::MO_None) in matchLargeOffset()
159 LuiImmOp.getTargetFlags() != RISCVII::MO_None || in matchLargeOffset()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMMCInstLower.cpp42 if (MO.getTargetFlags() & ARMII::MO_SBREL) in GetSymbolRef()
47 switch (MO.getTargetFlags() & ARMII::MO_OPTION_MASK) { in GetSymbolRef()
93 GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags())); in lowerOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/
DNios2AsmPrinter.cpp104 if (MO.getTargetFlags()) in printOperand()
107 switch (MO.getTargetFlags()) { in printOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp122 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in printSymbolOperand()
123 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) in printSymbolOperand()
129 if (MO.getTargetFlags() == X86II::MO_DLLIMPORT) in printSymbolOperand()
133 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in printSymbolOperand()
134 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) { in printSymbolOperand()
157 switch (MO.getTargetFlags()) { in printSymbolOperand()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp94 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in printSymbolOperand()
95 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) in printSymbolOperand()
101 if (MO.getTargetFlags() == X86II::MO_DLLIMPORT) in printSymbolOperand()
105 if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY || in printSymbolOperand()
106 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE) { in printSymbolOperand()
129 switch (MO.getTargetFlags()) { in printSymbolOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp215 assert(MO.getTargetFlags() == 0 && in Lower()
223 assert((MO.getTargetFlags() & -2) == 0 && in Lower()
226 MO.getTargetFlags() & 1); in Lower()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp220 getTargetFlags() != Other.getTargetFlags()) in isIdenticalTo()
270 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); in hash_value()
272 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
274 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getFPImm()); in hash_value()
276 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getMBB()); in hash_value()
278 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
281 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex(), in hash_value()
284 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getIndex()); in hash_value()
286 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value()
289 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getGlobal(), in hash_value()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp111 if (MO.getTargetFlags() == AMDGPU::TF_LONG_BRANCH_FORWARD) in getLongBranchBlockExpr()
114 assert(MO.getTargetFlags() == AMDGPU::TF_LONG_BRANCH_BACKWARD); in getLongBranchBlockExpr()
130 if (MO.getTargetFlags() != 0) { in lowerOperand()
146 MCSymbolRefExpr::create(Sym, getVariantKind(MO.getTargetFlags()),Ctx); in lowerOperand()
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp31 switch (MO.getTargetFlags() & ARMII::MO_OPTION_MASK) { in GetSymbolRef()
77 GetARMGVSymbol(MO.getGlobal(), MO.getTargetFlags())); in lowerOperand()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp445 if (unsigned int TF = GADN->getTargetFlags()) in print_details()
451 if (unsigned int TF = JTDN->getTargetFlags()) in print_details()
463 if (unsigned int TF = CP->getTargetFlags()) in print_details()
467 if (unsigned TF = TI->getTargetFlags()) in print_details()
481 if (unsigned int TF = ES->getTargetFlags()) in print_details()
539 if (unsigned int TF = BA->getTargetFlags()) in print_details()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h39 Flags.getTargetFlags() = ARMJITSymbolFlags::fromObjectSymbol(SR); in getJITSymbolFlags()
45 if (Flags.getTargetFlags() & ARMJITSymbolFlags::Thumb) in modifyAddressBasedOnFlags()
57 return (Entry.getFlags().getTargetFlags() & ARMJITSymbolFlags::Thumb); in isAddrTargetThumb()
127 EntryItr->second.getFlags().getTargetFlags() & in processRelocationRef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp44 switch(MO.getTargetFlags()) { in LowerSymbolOperand()
223 unsigned TargetFlags = MI->getOperand(1).getTargetFlags(); in lowerLongBranchLUi()
258 unsigned TargetFlags = MI->getOperand(2).getTargetFlags(); in lowerLongBranchADDiu()

1234