Home
last modified time | relevance | path

Searched refs:SimpleValueType (Results 1 – 25 of 47) sorted by relevance

12

/external/llvm/utils/TableGen/
DCodeGenTarget.h53 MVT::SimpleValueType getValueType(Record *Rec);
55 std::string getName(MVT::SimpleValueType T);
56 std::string getEnumName(MVT::SimpleValueType T);
72 mutable SmallVector<MVT::SimpleValueType, 8> LegalValueTypes;
131 std::vector<MVT::SimpleValueType> getRegisterVTs(Record *R) const;
133 ArrayRef<MVT::SimpleValueType> getLegalValueTypes() const { in getLegalValueTypes()
140 bool isLegalValueType(MVT::SimpleValueType VT) const { in isLegalValueType()
141 ArrayRef<MVT::SimpleValueType> LegalVTs = getLegalValueTypes(); in isLegalValueType()
199 MVT::SimpleValueType Ty;
208 MVT::SimpleValueType getValueType() const { return Ty; } in getValueType()
DDAGISelMatcher.h531 MVT::SimpleValueType Type;
534 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
537 MVT::SimpleValueType getType() const { return Type; } in getType()
560 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
562 SwitchTypeMatcher(ArrayRef<std::pair<MVT::SimpleValueType, Matcher*> > cases) in SwitchTypeMatcher() argument
572 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
587 MVT::SimpleValueType Type;
589 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
593 MVT::SimpleValueType getType() const { return Type; } in getType()
831 MVT::SimpleValueType VT;
[all …]
DCodeGenDAGPatterns.h58 SmallVector<MVT::SimpleValueType, 4> TypeVec;
61 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
62 TypeSet(ArrayRef<MVT::SimpleValueType> VTList);
73 MVT::SimpleValueType getConcrete() const { in getConcrete()
75 return (MVT::SimpleValueType)TypeVec[0]; in getConcrete()
82 const SmallVectorImpl<MVT::SimpleValueType> &getTypeList() const { in getTypeList()
115 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) { in MergeInTypeInfo()
141 bool EnforceVectorEltTypeIs(MVT::SimpleValueType VT, TreePattern &TP);
159 bool (*Pred)(MVT::SimpleValueType) = nullptr,
181 MVT::SimpleValueType VT;
[all …]
DCodeGenTarget.cpp38 MVT::SimpleValueType llvm::getValueType(Record *Rec) { in getValueType()
39 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
42 std::string llvm::getName(MVT::SimpleValueType T) { in getName()
51 std::string llvm::getEnumName(MVT::SimpleValueType T) { in getEnumName()
231 std::vector<MVT::SimpleValueType> CodeGenTarget::
234 std::vector<MVT::SimpleValueType> Result; in getRegisterVTs()
237 ArrayRef<MVT::SimpleValueType> InVTs = RC.getValueTypes(); in getRegisterVTs()
485 std::vector<MVT::SimpleValueType> OverloadedVTs; in CodeGenIntrinsic()
490 MVT::SimpleValueType VT; in CodeGenIntrinsic()
524 MVT::SimpleValueType VT; in CodeGenIntrinsic()
DFastISelEmitter.cpp177 MVT::SimpleValueType VT, in initialize()
372 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
373 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
382 typedef std::map<MVT::SimpleValueType, PredCheckMap> RetPredCheckMap;
383 typedef std::map<MVT::SimpleValueType, RetPredCheckMap> TypeRetPredCheckMap;
514 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
516 MVT::SimpleValueType VT = RetVT; in collectPatterns()
710 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
715 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
742 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
[all …]
DCodeGenIntrinsics.h45 std::vector<MVT::SimpleValueType> RetVTs;
54 std::vector<MVT::SimpleValueType> ParamVTs;
DDAGISelMatcher.cpp362 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
363 MVT::SimpleValueType T2) { in TypesAreContradictory()
396 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
DDAGISelMatcherOpt.cpp141 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes()
469 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes()
475 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorNodes()
DCodeGenRegisters.h303 SmallVector<MVT::SimpleValueType, 4> VTs;
321 ArrayRef<MVT::SimpleValueType> getValueTypes() const {return VTs;} in getValueTypes()
324 MVT::SimpleValueType getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
DCallingConvEmitter.cpp224 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
238 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
DCodeGenDAGPatterns.cpp34 static inline bool isInteger(MVT::SimpleValueType VT) { in isInteger()
37 static inline bool isFloatingPoint(MVT::SimpleValueType VT) { in isFloatingPoint()
40 static inline bool isVector(MVT::SimpleValueType VT) { in isVector()
43 static inline bool isScalar(MVT::SimpleValueType VT) { in isScalar()
47 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
62 EEVT::TypeSet::TypeSet(ArrayRef<MVT::SimpleValueType> VTList) { in TypeSet()
78 bool (*Pred)(MVT::SimpleValueType), in FillWithPossibleTypes() argument
81 ArrayRef<MVT::SimpleValueType> LegalTypes = in FillWithPossibleTypes()
461 bool EEVT::TypeSet::EnforceVectorEltTypeIs(MVT::SimpleValueType VT, in EnforceVectorEltTypeIs()
512 MVT::SimpleValueType VT = VTOperand.getConcrete(); in EnforceVectorEltTypeIs()
[all …]
DIntrinsicEmitter.cpp267 static void EncodeFixedValueType(MVT::SimpleValueType VT, in EncodeFixedValueType()
314 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType()
327 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
/external/llvm/include/llvm/CodeGen/
DMachineValueType.h31 enum SimpleValueType { enum
162 SimpleValueType SimpleTy;
165 LLVM_CONSTEXPR MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT()
506 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
584 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
595 SimpleValueType VT;
596 mvt_iterator(SimpleValueType VT) : VT(VT) {} in mvt_iterator()
600 VT = (MVT::SimpleValueType)((int)VT + 1);
617 (MVT::SimpleValueType)(MVT::LAST_INTEGER_VALUETYPE + 1)); in integer_valuetypes()
621 (MVT::SimpleValueType)(MVT::LAST_FP_VALUETYPE + 1)); in fp_valuetypes()
[all …]
DValueTypes.h38 LLVM_CONSTEXPR EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(nullptr) {} in EVT()
275 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp112 static const CostTblEntry<MVT::SimpleValueType> in getArithmeticInstrCost()
127 static const CostTblEntry<MVT::SimpleValueType> AVX512CostTable[] = { in getArithmeticInstrCost()
136 static const CostTblEntry<MVT::SimpleValueType> AVX2CostTable[] = { in getArithmeticInstrCost()
190 static const CostTblEntry<MVT::SimpleValueType> in getArithmeticInstrCost()
241 static const CostTblEntry<MVT::SimpleValueType> SSE2CostTable[] = { in getArithmeticInstrCost()
288 static const CostTblEntry<MVT::SimpleValueType> AVX1CostTable[] = { in getArithmeticInstrCost()
322 static const CostTblEntry<MVT::SimpleValueType> CustomLowered[] = { in getArithmeticInstrCost()
368 static const CostTblEntry<MVT::SimpleValueType> AVXAltShuffleTbl[] = { in getShuffleCost()
390 static const CostTblEntry<MVT::SimpleValueType> SSE41AltShuffleTbl[] = { in getShuffleCost()
414 static const CostTblEntry<MVT::SimpleValueType> SSSE3AltShuffleTbl[] = { in getShuffleCost()
[all …]
DX86RegisterInfo.h130 unsigned getX86SubSuperRegister(unsigned, MVT::SimpleValueType, bool High=false);
/external/llvm/test/CodeGen/X86/
Dmisched-aa-colored.ll55SimpleValueType>, std::pair<const std::pair<unsigned int, llvm::MVT::SimpleValueType>, llvm::MVT::
56SimpleValueType>, std::pair<const std::pair<unsigned int, llvm::MVT::SimpleValueType>, llvm::MVT::
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp55 static const CostTblEntry<MVT::SimpleValueType> NEONFltDblTbl[] = { in getCastInstrCost()
79 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
163 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
194 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
226 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
275 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCmpSelInstrCost()
343 static const CostTblEntry<MVT::SimpleValueType> NEONShuffleTbl[] = { in getShuffleCost()
365 static const CostTblEntry<MVT::SimpleValueType> NEONAltShuffleTbl[] = { in getShuffleCost()
402 static const CostTblEntry<MVT::SimpleValueType> CostTbl[] = { in getArithmeticInstrCost()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.h28 void addMSAIntType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC);
31 void addMSAFloatType(MVT::SimpleValueType Ty,
DMipsOptimizePICCall.cpp118 static MVT::SimpleValueType getRegTy(unsigned Reg, MachineFunction &MF) { in getRegTy()
147 MVT::SimpleValueType Ty = getRegTy(MI.getOperand(0).getReg(), MF); in eraseGPOpnd()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp106 MVT::SimpleValueType VT = (MVT::SimpleValueType)types[x]; in InitAMDILLowering()
127 MVT::SimpleValueType VT = (MVT::SimpleValueType)FloatTypes[x]; in InitAMDILLowering()
142 MVT::SimpleValueType VT = (MVT::SimpleValueType)IntTypes[x]; in InitAMDILLowering()
163 MVT::SimpleValueType VT = (MVT::SimpleValueType)VectorTypes[ii]; in InitAMDILLowering()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp145 unsigned AddressReg(MVT::SimpleValueType VT) const { in AddressReg()
149 unsigned ShadowReg(MVT::SimpleValueType VT) const { in ShadowReg()
153 unsigned ScratchReg(MVT::SimpleValueType VT) const { in ScratchReg()
167 unsigned ChooseFrameReg(MVT::SimpleValueType VT) const { in ChooseFrameReg()
179 unsigned convReg(unsigned Reg, MVT::SimpleValueType VT) const { in convReg()
244 void EmitLEA(X86Operand &Op, MVT::SimpleValueType VT, unsigned Reg, in EmitLEA()
254 void ComputeMemOperandAddress(X86Operand &Op, MVT::SimpleValueType VT,
441 MVT::SimpleValueType VT, in ComputeMemOperandAddress()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1187 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
1202 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
1203 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
1204 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
1213 MVT IVT = (MVT::SimpleValueType)IntReg; in computeRegisterProperties()
1218 (const MVT::SimpleValueType)LegalIntReg; in computeRegisterProperties()
1277 MVT VT = (MVT::SimpleValueType) i; in computeRegisterProperties()
1290 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
1310 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
1364 std::tie(RRC, Cost) = findRepresentativeClass(TRI, (MVT::SimpleValueType)i); in computeRegisterProperties()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp2396 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2421 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
2926 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3001 MVT::SimpleValueType VT = in SelectCodeCommon()
3002 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3011 MVT::SimpleValueType VT = in SelectCodeCommon()
3012 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3022 MVT::SimpleValueType VT = in SelectCodeCommon()
3023 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3155 MVT::SimpleValueType VT = in SelectCodeCommon()
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h325 MVT::SimpleValueType getCmpLibcallReturnType() const;
684 std::map<std::pair<unsigned, MVT::SimpleValueType>, in getTypeToPromoteTo()
685 MVT::SimpleValueType>::const_iterator PTTI = in getTypeToPromoteTo()
694 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); in getTypeToPromoteTo()
1878 std::map<std::pair<unsigned, MVT::SimpleValueType>, MVT::SimpleValueType>

12