/external/llvm/include/llvm/CodeGen/ |
D | MachineValueType.h | 179 SimpleValueType SimpleTy; variable 181 LLVM_CONSTEXPR MVT() : SimpleTy(INVALID_SIMPLE_VALUE_TYPE) {} in MVT() 182 LLVM_CONSTEXPR MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT() 184 bool operator>(const MVT& S) const { return SimpleTy > S.SimpleTy; } 185 bool operator<(const MVT& S) const { return SimpleTy < S.SimpleTy; } 186 bool operator==(const MVT& S) const { return SimpleTy == S.SimpleTy; } 187 bool operator!=(const MVT& S) const { return SimpleTy != S.SimpleTy; } 188 bool operator>=(const MVT& S) const { return SimpleTy >= S.SimpleTy; } 189 bool operator<=(const MVT& S) const { return SimpleTy <= S.SimpleTy; } 193 return (SimpleTy >= MVT::FIRST_VALUETYPE && in isValid() [all …]
|
D | ValueTypes.h | 45 if (V.SimpleTy != VT.V.SimpleTy) 47 if (V.SimpleTy < 0) 63 if (M.SimpleTy >= 0) in getIntegerVT() 72 if (M.SimpleTy >= 0) in getVectorVT() 87 assert(VecTy.SimpleTy >= 0 && in changeVectorElementTypeToInteger() 108 return V.SimpleTy >= 0; in isSimple() 348 return V.SimpleTy; in getRawBits() 357 if (L.V.SimpleTy == R.V.SimpleTy) in operator() 360 return L.V.SimpleTy < R.V.SimpleTy; in operator()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MachineValueType.h | 265 SimpleValueType SimpleTy = INVALID_SIMPLE_VALUE_TYPE; variable 268 constexpr MVT(SimpleValueType SVT) : SimpleTy(SVT) {} in MVT() 270 bool operator>(const MVT& S) const { return SimpleTy > S.SimpleTy; } 271 bool operator<(const MVT& S) const { return SimpleTy < S.SimpleTy; } 272 bool operator==(const MVT& S) const { return SimpleTy == S.SimpleTy; } 273 bool operator!=(const MVT& S) const { return SimpleTy != S.SimpleTy; } 274 bool operator>=(const MVT& S) const { return SimpleTy >= S.SimpleTy; } 275 bool operator<=(const MVT& S) const { return SimpleTy <= S.SimpleTy; } 279 return (SimpleTy >= MVT::FIRST_VALUETYPE && in isValid() 280 SimpleTy < MVT::LAST_VALUETYPE); in isValid() [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | MachineValueType.h | 294 SimpleValueType SimpleTy = INVALID_SIMPLE_VALUE_TYPE; variable 297 constexpr MVT(SimpleValueType SVT) : SimpleTy(SVT) {} in MVT() 299 bool operator>(const MVT& S) const { return SimpleTy > S.SimpleTy; } 300 bool operator<(const MVT& S) const { return SimpleTy < S.SimpleTy; } 301 bool operator==(const MVT& S) const { return SimpleTy == S.SimpleTy; } 302 bool operator!=(const MVT& S) const { return SimpleTy != S.SimpleTy; } 303 bool operator>=(const MVT& S) const { return SimpleTy >= S.SimpleTy; } 304 bool operator<=(const MVT& S) const { return SimpleTy <= S.SimpleTy; } 308 return (SimpleTy >= MVT::FIRST_VALUETYPE && in isValid() 309 SimpleTy < MVT::LAST_VALUETYPE); in isValid() [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenFastISel.inc | 33 if (RetVT.SimpleTy != MVT::i64) 39 switch (VT.SimpleTy) { 48 if (RetVT.SimpleTy != MVT::f64) 57 switch (VT.SimpleTy) { 66 if (RetVT.SimpleTy != MVT::i32) 72 switch (VT.SimpleTy) { 92 if (RetVT.SimpleTy != MVT::f64) 101 if (RetVT.SimpleTy != MVT::i64) 110 switch (VT.SimpleTy) { 120 if (RetVT.SimpleTy != MVT::v4i32) [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenFastISel.inc | 98 if (RetVT.SimpleTy != MVT::i64) 104 switch (VT.SimpleTy) { 122 if (RetVT.SimpleTy != MVT::isVoid) 128 switch (VT.SimpleTy) { 137 if (RetVT.SimpleTy != MVT::v8i8) 146 if (RetVT.SimpleTy != MVT::v16i8) 155 if (RetVT.SimpleTy != MVT::v4i16) 164 if (RetVT.SimpleTy != MVT::v8i16) 173 if (RetVT.SimpleTy != MVT::v2i32) 182 if (RetVT.SimpleTy != MVT::v4i32) [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenFastISel.inc | 81 if (RetVT.SimpleTy != MVT::isVoid) 90 switch (VT.SimpleTy) { 99 if (RetVT.SimpleTy != MVT::isVoid) 114 switch (VT.SimpleTy) { 123 if (RetVT.SimpleTy != MVT::isVoid) 132 switch (VT.SimpleTy) { 141 if (RetVT.SimpleTy != MVT::isVoid) 150 if (RetVT.SimpleTy != MVT::isVoid) 159 if (RetVT.SimpleTy != MVT::isVoid) 168 switch (VT.SimpleTy) { [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenFastISel.inc | 56 if (RetVT.SimpleTy != MVT::f32) 71 if (RetVT.SimpleTy != MVT::f64) 80 if (RetVT.SimpleTy != MVT::i32) 95 if (RetVT.SimpleTy != MVT::i64) 104 switch (VT.SimpleTy) { 116 if (RetVT.SimpleTy != MVT::isVoid) 143 if (RetVT.SimpleTy != MVT::isVoid) 161 switch (VT.SimpleTy) { 171 if (RetVT.SimpleTy != MVT::i32) 186 if (RetVT.SimpleTy != MVT::i64) [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/ |
D | X86GenFastISel.inc | 43 if (RetVT.SimpleTy != MVT::v16i8) 58 if (RetVT.SimpleTy != MVT::v32i8) 70 if (RetVT.SimpleTy != MVT::v64i8) 79 if (RetVT.SimpleTy != MVT::v8i16) 94 if (RetVT.SimpleTy != MVT::v16i16) 106 if (RetVT.SimpleTy != MVT::v32i16) 115 if (RetVT.SimpleTy != MVT::v4i32) 130 if (RetVT.SimpleTy != MVT::v8i32) 142 if (RetVT.SimpleTy != MVT::v16i32) 151 if (RetVT.SimpleTy != MVT::v2i64) [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 48 if (V.SimpleTy != VT.V.SimpleTy) 50 if (V.SimpleTy == MVT::INVALID_SIMPLE_VALUE_TYPE) 66 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) in getIntegerVT() 76 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) 87 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) in getVectorVT() 107 assert(VecTy.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE && in changeVectorElementTypeToInteger() 127 return V.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE; in isSimple() 408 return V.SimpleTy; in getRawBits() 417 if (L.V.SimpleTy == R.V.SimpleTy) in operator() 420 return L.V.SimpleTy < R.V.SimpleTy; in operator()
|
D | TargetLowering.h | 709 const TargetRegisterClass *RC = RegClassForVT[VT.SimpleTy]; 730 const TargetRegisterClass *RC = RepRegClassForVT[VT.SimpleTy]; in getRepRegClassFor() 737 return RepRegClassCostForVT[VT.SimpleTy]; in getRepRegClassCostFor() 752 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 753 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != nullptr; in isTypeLegal() 768 return ValueTypeActions[VT.SimpleTy]; in getTypeAction() 772 ValueTypeActions[VT.SimpleTy] = Action; in setTypeAction() 907 return OpActions[(unsigned)VT.getSimpleVT().SimpleTy][Op]; in getOperationAction() 1067 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 1068 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 49 if (V.SimpleTy != VT.V.SimpleTy) 51 if (V.SimpleTy == MVT::INVALID_SIMPLE_VALUE_TYPE) 67 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) in getIntegerVT() 77 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) 86 if (M.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE) in getVectorVT() 122 return V.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE; in isSimple() 458 return V.SimpleTy; in getRawBits() 467 if (L.V.SimpleTy == R.V.SimpleTy) in operator() 470 return L.V.SimpleTy < R.V.SimpleTy; in operator()
|
D | TargetLowering.h | 844 const TargetRegisterClass *RC = RegClassForVT[VT.SimpleTy]; 865 const TargetRegisterClass *RC = RepRegClassForVT[VT.SimpleTy]; in getRepRegClassFor() 872 return RepRegClassCostForVT[VT.SimpleTy]; in getRepRegClassCostFor() 887 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 888 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != nullptr; in isTypeLegal() 903 return ValueTypeActions[VT.SimpleTy]; in getTypeAction() 907 ValueTypeActions[VT.SimpleTy] = Action; in setTypeAction() 1042 return OpActions[(unsigned)VT.getSimpleVT().SimpleTy][Op]; in getOperationAction() 1219 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 1220 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 431 const TargetRegisterClass *RC = RegClassForVT[VT.SimpleTy]; in getRegClassFor() 444 const TargetRegisterClass *RC = RepRegClassForVT[VT.SimpleTy]; in getRepRegClassFor() 451 return RepRegClassCostForVT[VT.SimpleTy]; in getRepRegClassCostFor() 459 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 460 return VT.isSimple() && RegClassForVT[VT.getSimpleVT().SimpleTy] != nullptr; in isTypeLegal() 475 return ValueTypeActions[VT.SimpleTy]; in getTypeAction() 479 ValueTypeActions[VT.SimpleTy] = Action; in setTypeAction() 603 return OpActions[(unsigned)VT.getSimpleVT().SimpleTy][Op]; in getOperationAction() 660 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 661 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.cpp | 91 if (LocVT.SimpleTy == MVT::i64 || (IsDarwinILP32 && LocVT.SimpleTy == MVT::i32)) in CC_AArch64_Custom_Block() 93 else if (LocVT.SimpleTy == MVT::f16) in CC_AArch64_Custom_Block() 95 else if (LocVT.SimpleTy == MVT::f32 || LocVT.is32BitVector()) in CC_AArch64_Custom_Block() 97 else if (LocVT.SimpleTy == MVT::f64 || LocVT.is64BitVector()) in CC_AArch64_Custom_Block() 99 else if (LocVT.SimpleTy == MVT::f128 || LocVT.is128BitVector()) in CC_AArch64_Custom_Block() 118 unsigned EltsPerReg = (IsDarwinILP32 && LocVT.SimpleTy == MVT::i32) ? 2 : 1; in CC_AArch64_Custom_Block()
|
D | AArch64FastISel.cpp | 329 switch (VT.SimpleTy) { in getImplicitScaleFactor() 1165 switch (RetVT.SimpleTy) { in emitAddSub() 1184 RetVT.SimpleTy = std::max(RetVT.SimpleTy, MVT::i32); in emitAddSub() 1492 switch (VT.SimpleTy) { in emitCmp() 1682 MVT VT = std::max(MVT::i32, RetVT.SimpleTy); in emitLogicalOp() 1704 switch (RetVT.SimpleTy) { in emitLogicalOp_ri() 1755 switch (RetVT.SimpleTy) { in emitLogicalOp_rs() 1862 switch (VT.SimpleTy) { in emitLoad() 2093 switch (VT.SimpleTy) { in emitStoreRelease() 2152 switch (VT.SimpleTy) { in emitStore() [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.cpp | 138 if (LocVT.SimpleTy == MVT::i64 || (IsDarwinILP32 && LocVT.SimpleTy == MVT::i32)) in CC_AArch64_Custom_Block() 140 else if (LocVT.SimpleTy == MVT::f16) in CC_AArch64_Custom_Block() 142 else if (LocVT.SimpleTy == MVT::f32 || LocVT.is32BitVector()) in CC_AArch64_Custom_Block() 144 else if (LocVT.SimpleTy == MVT::f64 || LocVT.is64BitVector()) in CC_AArch64_Custom_Block() 146 else if (LocVT.SimpleTy == MVT::f128 || LocVT.is128BitVector()) in CC_AArch64_Custom_Block() 167 unsigned EltsPerReg = (IsDarwinILP32 && LocVT.SimpleTy == MVT::i32) ? 2 : 1; in CC_AArch64_Custom_Block()
|
D | AArch64FastISel.cpp | 329 switch (VT.SimpleTy) { in getImplicitScaleFactor() 1163 switch (RetVT.SimpleTy) { in emitAddSub() 1182 RetVT.SimpleTy = std::max(RetVT.SimpleTy, MVT::i32); in emitAddSub() 1490 switch (VT.SimpleTy) { in emitCmp() 1680 MVT VT = std::max(MVT::i32, RetVT.SimpleTy); in emitLogicalOp() 1702 switch (RetVT.SimpleTy) { in emitLogicalOp_ri() 1753 switch (RetVT.SimpleTy) { in emitLogicalOp_rs() 1860 switch (VT.SimpleTy) { in emitLoad() 2091 switch (VT.SimpleTy) { in emitStoreRelease() 2150 switch (VT.SimpleTy) { in emitStore() [all …]
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 903 fromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoad() 914 MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLoad() 1041 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector() 1076 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() 1084 pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_avar, in tryLoadVector() 1103 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() 1111 pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_asi, in tryLoadVector() 1132 EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v2_ari_64, in tryLoadVector() 1140 EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_ari_64, in tryLoadVector() 1151 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 904 fromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoad() 915 MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLoad() 1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector() 1077 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() 1085 pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_avar, in tryLoadVector() 1104 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() 1112 pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_asi, in tryLoadVector() 1133 EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v2_ari_64, in tryLoadVector() 1141 EltVT.getSimpleVT().SimpleTy, NVPTX::LDV_i8_v4_ari_64, in tryLoadVector() 1152 Opcode = pickOpcodeForVT(EltVT.getSimpleVT().SimpleTy, in tryLoadVector() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.h | 90 if (LocVT.SimpleTy == MVT::i64) in CC_AArch64_Custom_Block() 92 else if (LocVT.SimpleTy == MVT::f16) in CC_AArch64_Custom_Block() 94 else if (LocVT.SimpleTy == MVT::f32 || LocVT.is32BitVector()) in CC_AArch64_Custom_Block() 96 else if (LocVT.SimpleTy == MVT::f64 || LocVT.is64BitVector()) in CC_AArch64_Custom_Block() 98 else if (LocVT.SimpleTy == MVT::f128 || LocVT.is128BitVector()) in CC_AArch64_Custom_Block()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 739 MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLoad() 986 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1010 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1039 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1063 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1093 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1117 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1140 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1164 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() 1195 switch (EltVT.getSimpleVT().SimpleTy) { in tryLoadVector() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonSubtarget.cpp | 177 auto isHvxTy = [this, IncludeBool](MVT SimpleTy) { in isTypeForHVX() argument 178 if (isHVXVectorType(SimpleTy, IncludeBool)) in isTypeForHVX() 180 auto Action = getTargetLowering()->getPreferredVectorAction(SimpleTy); in isTypeForHVX() 189 MVT SimpleTy = MVT::getVectorVT(ElemTy, VecLen); in isTypeForHVX() local 190 if (SimpleTy.isValid() && isHvxTy(SimpleTy)) in isTypeForHVX()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 359 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitLoad() 511 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 660 switch (VT.getSimpleVT().SimpleTy) { in X86FastEmitStore() 1333 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpOpcode() 1350 switch (VT.getSimpleVT().SimpleTy) { in X86ChooseCmpImmediateOpcode() 1516 if (SrcVT.SimpleTy == MVT::i1) { in X86SelectZExt() 1529 switch (SrcVT.SimpleTy) { in X86SelectZExt() 1646 switch (SourceVT.SimpleTy) { in X86SelectBranch() 1836 switch (VT.SimpleTy) { in X86SelectDivRem() 1880 if (VT.SimpleTy == MVT::i16) { in X86SelectDivRem() [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.h | 89 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count() 92 bool V = count(T.SimpleTy); in insert() 93 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert() 103 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase() 706 return Types[ResNo].getMachineValueType().SimpleTy; in getSimpleType()
|