/external/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.h | 184 return MI.getDesc().TSFlags & SIInstrFlags::SALU; in isSALU() 188 return get(Opcode).TSFlags & SIInstrFlags::SALU; in isSALU() 192 return MI.getDesc().TSFlags & SIInstrFlags::VALU; in isVALU() 196 return get(Opcode).TSFlags & SIInstrFlags::VALU; in isVALU() 208 return MI.getDesc().TSFlags & SIInstrFlags::SOP1; in isSOP1() 212 return get(Opcode).TSFlags & SIInstrFlags::SOP1; in isSOP1() 216 return MI.getDesc().TSFlags & SIInstrFlags::SOP2; in isSOP2() 220 return get(Opcode).TSFlags & SIInstrFlags::SOP2; in isSOP2() 224 return MI.getDesc().TSFlags & SIInstrFlags::SOPC; in isSOPC() 228 return get(Opcode).TSFlags & SIInstrFlags::SOPC; in isSOPC() [all …]
|
D | SIInstrFormats.td | 54 let TSFlags{0} = VM_CNT; 55 let TSFlags{1} = EXP_CNT; 56 let TSFlags{2} = LGKM_CNT; 58 let TSFlags{3} = SALU; 59 let TSFlags{4} = VALU; 61 let TSFlags{5} = SOP1; 62 let TSFlags{6} = SOP2; 63 let TSFlags{7} = SOPC; 64 let TSFlags{8} = SOPK; 65 let TSFlags{9} = SOPP; [all …]
|
D | R600InstrFormats.td | 44 let TSFlags{4} = Trig; 45 let TSFlags{5} = Op3; 49 let TSFlags{6} = isVector; 50 let TSFlags{8-7} = FlagOperandIdx; 51 let TSFlags{9} = HasNativeOperands; 52 let TSFlags{10} = Op1; 53 let TSFlags{11} = Op2; 54 let TSFlags{12} = VTXInst; 55 let TSFlags{13} = TEXInst; 56 let TSFlags{14} = ALUInst; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 115 uint64_t TSFlags, unsigned &CurByte, raw_ostream &OS, 121 void EmitVEXOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand, 125 void EmitSegmentOverridePrefix(uint64_t TSFlags, unsigned &CurByte, 129 void EmitOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand, 151 static MCFixupKind getImmFixupKind(uint64_t TSFlags) { in getImmFixupKind() argument 152 unsigned Size = X86II::getSizeOfImm(TSFlags); in getImmFixupKind() 153 bool isPCRel = X86II::isImmPCRel(TSFlags); in getImmFixupKind() 243 uint64_t TSFlags, unsigned &CurByte, in EmitMemModRMByte() argument 271 int ImmSize = X86II::hasImm(TSFlags) ? X86II::getSizeOfImm(TSFlags) : 0; in EmitMemModRMByte() 386 void X86MCCodeEmitter::EmitVEXOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, in EmitVEXOpcodePrefix() argument [all …]
|
D | X86BaseInfo.h | 417 static inline unsigned char getBaseOpcodeFor(uint64_t TSFlags) { in getBaseOpcodeFor() argument 418 return TSFlags >> X86II::OpcodeShift; in getBaseOpcodeFor() 421 static inline bool hasImm(uint64_t TSFlags) { in hasImm() argument 422 return (TSFlags & X86II::ImmMask) != 0; in hasImm() 427 static inline unsigned getSizeOfImm(uint64_t TSFlags) { in getSizeOfImm() argument 428 switch (TSFlags & X86II::ImmMask) { in getSizeOfImm() 442 static inline unsigned isImmPCRel(uint64_t TSFlags) { in isImmPCRel() argument 443 switch (TSFlags & X86II::ImmMask) { in isImmPCRel() 465 static inline int getMemoryOperandNo(uint64_t TSFlags) { in getMemoryOperandNo() argument 466 switch (TSFlags & X86II::FormMask) { in getMemoryOperandNo() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 126 uint64_t TSFlags, bool Rex, unsigned &CurByte, 134 void EmitVEXOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand, 141 bool emitOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand, 145 uint8_t DetermineREXPrefix(const MCInst &MI, uint64_t TSFlags, 165 static bool isCDisp8(uint64_t TSFlags, int Value, int& CValue) { in isCDisp8() argument 166 assert(((TSFlags & X86II::EncodingMask) == X86II::EVEX) && in isCDisp8() 170 (TSFlags & X86II::CD8_Scale_Mask) >> X86II::CD8_Scale_Shift; in isCDisp8() 190 static MCFixupKind getImmFixupKind(uint64_t TSFlags) { in getImmFixupKind() argument 191 unsigned Size = X86II::getSizeOfImm(TSFlags); in getImmFixupKind() 192 bool isPCRel = X86II::isImmPCRel(TSFlags); in getImmFixupKind() [all …]
|
D | X86BaseInfo.h | 564 inline unsigned char getBaseOpcodeFor(uint64_t TSFlags) { in getBaseOpcodeFor() argument 565 return TSFlags >> X86II::OpcodeShift; in getBaseOpcodeFor() 568 inline bool hasImm(uint64_t TSFlags) { in hasImm() argument 569 return (TSFlags & X86II::ImmMask) != 0; in hasImm() 574 inline unsigned getSizeOfImm(uint64_t TSFlags) { in getSizeOfImm() argument 575 switch (TSFlags & X86II::ImmMask) { in getSizeOfImm() 590 inline unsigned isImmPCRel(uint64_t TSFlags) { in isImmPCRel() argument 591 switch (TSFlags & X86II::ImmMask) { in isImmPCRel() 608 inline unsigned isImmSigned(uint64_t TSFlags) { in isImmSigned() argument 609 switch (TSFlags & X86II::ImmMask) { in isImmSigned() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrFormats.td | 50 let TSFlags{3-0} = VecInstType; 51 let TSFlags{4-4} = IsSimpleMove; 52 let TSFlags{5-5} = IsLoad; 53 let TSFlags{6-6} = IsStore; 54 let TSFlags{7} = IsTex; 55 let TSFlags{9-8} = IsSuld; 56 let TSFlags{10} = IsSust; 57 let TSFlags{11} = IsSurfTexQuery; 58 let TSFlags{12} = IsTexModeUnified;
|
D | NVPTXInstrInfo.cpp | 73 unsigned TSFlags = in isMoveInstr() local 74 (MI.getDesc().TSFlags & NVPTX::SimpleMoveMask) >> NVPTX::SimpleMoveShift; in isMoveInstr() 75 isMove = (TSFlags == 1); in isMoveInstr() 94 unsigned TSFlags = in isLoadInstr() local 95 (MI.getDesc().TSFlags & NVPTX::isLoadMask) >> NVPTX::isLoadShift; in isLoadInstr() 96 isLoad = (TSFlags == 1); in isLoadInstr() 105 unsigned TSFlags = in isStoreInstr() local 106 (MI.getDesc().TSFlags & NVPTX::isStoreMask) >> NVPTX::isStoreShift; in isStoreInstr() 107 isStore = (TSFlags == 1); in isStoreInstr()
|
D | NVPTXReplaceImageHandles.cpp | 83 if (MCID.TSFlags & NVPTXII::IsTexFlag) { in processInstr() 89 if (!(MCID.TSFlags & NVPTXII::IsTexModeUnifiedFlag)) { in processInstr() 95 } else if (MCID.TSFlags & NVPTXII::IsSuldMask) { in processInstr() 97 1 << (((MCID.TSFlags & NVPTXII::IsSuldMask) >> NVPTXII::IsSuldShift) - 1); in processInstr() 105 } else if (MCID.TSFlags & NVPTXII::IsSustFlag) { in processInstr() 112 } else if (MCID.TSFlags & NVPTXII::IsSurfTexQueryFlag) { in processInstr()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrFormatsV4.td | 64 let TSFlags{4-0} = Type.Value; 68 let TSFlags{6} = isPredicated; 70 let TSFlags{7} = isPredicatedFalse; 72 let TSFlags{8} = isPredicatedNew; 76 let TSFlags{9} = isNewValue; // New-value consumer insn. 78 let TSFlags{10} = hasNewValue; // New-value producer insn. 80 let TSFlags{13-11} = opNewValue; // New-value produced operand. 82 let TSFlags{14} = isNVStorable; // Store that can become new-value store. 84 let TSFlags{15} = isNVStore; // New-value store insn. 88 let TSFlags{16} = isExtendable; // Insn may be extended. [all …]
|
D | HexagonInstrFormats.td | 102 let TSFlags{4-0} = Type.Value; 106 let TSFlags{5} = isSolo; 109 let TSFlags{6} = isSoloAX; 112 let TSFlags{7} = isSoloAin1; 116 let TSFlags{8} = isPredicated; 118 let TSFlags{9} = isPredicatedFalse; 120 let TSFlags{10} = isPredicatedNew; 122 let TSFlags{11} = isPredicateLate; // Late predicate producer insn. 126 let TSFlags{12} = isNewValue; // New-value consumer insn. 128 let TSFlags{13} = hasNewValue; // New-value producer insn. [all …]
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCInstrInfo.cpp | 170 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getAccessSize() 178 uint64_t const F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getBitCount() 185 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getCExtOpNum() 251 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getExtendableOp() 269 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getExtentAlignment() 275 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getExtentBits() 283 uint64_t const F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getMaxValue() 298 uint64_t const F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getMinValue() 316 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getNewValueOp() 322 uint64_t const F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getNewValueOperand() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 154 if ((Desc.TSFlags & X86II::FormMask) == X86II::Pseudo) in determineREX() 156 if (Desc.TSFlags & X86II::REX_W) in determineREX() 175 switch (Desc.TSFlags & X86II::FormMask) { in determineREX() 631 if (Desc->TSFlags & X86II::LOCK) in emitInstruction() 635 switch (Desc->TSFlags & X86II::SegOvrMask) { in emitInstruction() 647 if ((Desc->TSFlags & X86II::Op0Mask) == X86II::REP) in emitInstruction() 651 if (Desc->TSFlags & X86II::OpSize) in emitInstruction() 655 if (Desc->TSFlags & X86II::AdSize) in emitInstruction() 659 switch (Desc->TSFlags & X86II::Op0Mask) { in emitInstruction() 683 (((Desc->TSFlags & X86II::Op0Mask)-X86II::D8) in emitInstruction() [all …]
|
D | X86InstrFormats.td | 157 // TSFlags layout should be kept in sync with X86InstrInfo.h. 158 let TSFlags{5-0} = FormBits; 159 let TSFlags{6} = hasOpSizePrefix; 160 let TSFlags{7} = hasAdSizePrefix; 161 let TSFlags{12-8} = Prefix; 162 let TSFlags{13} = hasREX_WPrefix; 163 let TSFlags{16-14} = ImmT.Value; 164 let TSFlags{19-17} = FPForm.Value; 165 let TSFlags{20} = hasLockPrefix; 166 let TSFlags{22-21} = SegOvrBits; [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrControl.td | 44 // Set TSFlags{0} to 1 to indicate that the variable_ops are immediates. 45 // Set TSFlags{1} to 1 to indicate that the immediates represent labels. 50 let TSFlags{0} = 1; 51 let TSFlags{1} = 1; 56 let TSFlags{0} = 1; 57 let TSFlags{1} = 1;
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCHazardRecognizers.cpp | 81 uint64_t TSFlags = MCID.TSFlags; in GetInstrType() local 83 isFirst = TSFlags & PPCII::PPC970_First; in GetInstrType() 84 isSingle = TSFlags & PPCII::PPC970_Single; in GetInstrType() 85 isCracked = TSFlags & PPCII::PPC970_Cracked; in GetInstrType() 86 return (PPCII::PPC970_Unit)(TSFlags & PPCII::PPC970_Mask); in GetInstrType()
|
/external/llvm/lib/Target/WebAssembly/InstPrinter/ |
D | WebAssemblyInstPrinter.cpp | 100 : (Desc.TSFlags & WebAssemblyII::VariableOpImmediateIsLabel))) in printInst() 142 MII.get(MI->getOpcode()).TSFlags == 0) && in printOperand() 158 (MII.get(MI->getOpcode()).TSFlags & in printOperand() 171 assert(Desc.TSFlags == 0 && in printOperand() 184 (MII.get(MI->getOpcode()).TSFlags & in printOperand()
|
/external/llvm/lib/Target/ARM/ |
D | ARMHazardRecognizer.cpp | 23 unsigned Domain = MCID.TSFlags & ARMII::DomainMask; in hasRAWHazard() 44 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType() 54 (LastMCID.TSFlags & ARMII::DomainMask) == ARMII::DomainGeneral) { in getHazardType()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCHazardRecognizers.cpp | 290 uint64_t TSFlags = MCID.TSFlags; in GetInstrType() local 292 isFirst = TSFlags & PPCII::PPC970_First; in GetInstrType() 293 isSingle = TSFlags & PPCII::PPC970_Single; in GetInstrType() 294 isCracked = TSFlags & PPCII::PPC970_Cracked; in GetInstrType() 295 return (PPCII::PPC970_Unit)(TSFlags & PPCII::PPC970_Mask); in GetInstrType()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMHazardRecognizer.cpp | 23 unsigned Domain = MCID.TSFlags & ARMII::DomainMask; in hasRAWHazard() 47 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType() 54 (LastMCID.TSFlags & ARMII::DomainMask) == ARMII::DomainGeneral) { in getHazardType()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsCodeEmitter.cpp | 147 uint64_t TSFlags = MI.getDesc().TSFlags; in getRelocation() local 148 uint64_t Form = TSFlags & MipsII::FormMask; in getRelocation() 239 if ((MI.getDesc().TSFlags & MipsII::FormMask) == MipsII::Pseudo) in emitInstruction()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFormats.td | 304 // TSFlags layout should be kept in sync with X86BaseInfo.h. 305 let TSFlags{6-0} = FormBits; 306 let TSFlags{8-7} = OpSizeBits; 307 let TSFlags{10-9} = AdSizeBits; 308 let TSFlags{13-11} = OpPrefixBits; 309 let TSFlags{16-14} = OpMapBits; 310 let TSFlags{17} = hasREX_WPrefix; 311 let TSFlags{21-18} = ImmT.Value; 312 let TSFlags{24-22} = FPForm.Value; 313 let TSFlags{25} = hasLockPrefix; [all …]
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | R600MCCodeEmitter.cpp | 133 ((Desc.TSFlags & R600_InstFlag::OP1) || in encodeInstruction() 134 Desc.TSFlags & R600_InstFlag::OP2)) { in encodeInstruction() 160 if (HAS_NATIVE_OPERANDS(MCII.get(MI.getOpcode()).TSFlags)) in getMachineOpValue()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/MCTargetDesc/ |
D | MBlazeMCCodeEmitter.cpp | 184 uint64_t TSFlags = Desc.TSFlags; in EncodeInstruction() local 191 switch ((TSFlags & MBlazeII::FormMask)) { in EncodeInstruction()
|