Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/llvm/utils/TableGen/
DCodeGenTarget.h53 MVT::SimpleValueType getValueType(Record *Rec);
55 std::string getName(MVT::SimpleValueType T);
56 std::string getEnumName(MVT::SimpleValueType T);
71 mutable SmallVector<MVT::SimpleValueType, 8> LegalValueTypes;
130 std::vector<MVT::SimpleValueType> getRegisterVTs(Record *R) const;
132 ArrayRef<MVT::SimpleValueType> getLegalValueTypes() const { in getLegalValueTypes()
139 bool isLegalValueType(MVT::SimpleValueType VT) const { in isLegalValueType()
140 ArrayRef<MVT::SimpleValueType> LegalVTs = getLegalValueTypes(); in isLegalValueType()
191 MVT::SimpleValueType Ty;
200 MVT::SimpleValueType getValueType() const { return Ty; } in getValueType()
DDAGISelMatcher.h528 MVT::SimpleValueType Type;
531 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
534 MVT::SimpleValueType getType() const { return Type; } in getType()
557 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
559 SwitchTypeMatcher(const std::pair<MVT::SimpleValueType, Matcher*> *cases, in SwitchTypeMatcher() argument
569 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
584 MVT::SimpleValueType Type;
586 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
590 MVT::SimpleValueType getType() const { return Type; } in getType()
800 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()
111 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) { in MergeInTypeInfo()
147 bool (*Pred)(MVT::SimpleValueType) = 0,
169 MVT::SimpleValueType VT;
226 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
[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()
229 std::vector<MVT::SimpleValueType> CodeGenTarget::
232 std::vector<MVT::SimpleValueType> Result; in getRegisterVTs()
237 ArrayRef<MVT::SimpleValueType> InVTs = RC.getValueTypes(); in getRegisterVTs()
470 std::vector<MVT::SimpleValueType> OverloadedVTs; in CodeGenIntrinsic()
475 MVT::SimpleValueType VT; in CodeGenIntrinsic()
509 MVT::SimpleValueType VT; in CodeGenIntrinsic()
DCodeGenIntrinsics.h44 std::vector<MVT::SimpleValueType> RetVTs;
53 std::vector<MVT::SimpleValueType> ParamVTs;
DFastISelEmitter.cpp175 MVT::SimpleValueType VT, in initialize()
368 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
369 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
495 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
497 MVT::SimpleValueType VT = RetVT; in collectPatterns()
604 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
609 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
684 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
778 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
DCodeGenDAGPatterns.cpp32 static inline bool isInteger(MVT::SimpleValueType VT) { in isInteger()
35 static inline bool isFloatingPoint(MVT::SimpleValueType VT) { in isFloatingPoint()
38 static inline bool isVector(MVT::SimpleValueType VT) { in isVector()
41 static inline bool isScalar(MVT::SimpleValueType VT) { in isScalar()
45 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
60 EEVT::TypeSet::TypeSet(ArrayRef<MVT::SimpleValueType> VTList) { in TypeSet()
76 bool (*Pred)(MVT::SimpleValueType), in FillWithPossibleTypes() argument
79 ArrayRef<MVT::SimpleValueType> LegalTypes = in FillWithPossibleTypes()
418 MVT::SimpleValueType SmallestInt = MVT::LAST_VALUETYPE; in EnforceSmallerThan()
428 MVT::SimpleValueType SmallestFP = MVT::LAST_VALUETYPE; in EnforceSmallerThan()
[all …]
DCodeGenRegisters.h276 SmallVector<MVT::SimpleValueType, 4> VTs;
289 ArrayRef<MVT::SimpleValueType> getValueTypes() const {return VTs;} in getValueTypes()
292 MVT::SimpleValueType getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
DDAGISelMatcher.cpp348 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
349 MVT::SimpleValueType T2) { in TypesAreContradictory()
382 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
DDAGISelMatcherOpt.cpp136 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes()
465 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes()
471 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorNodes()
DDAGISelMatcherGen.cpp25 static MVT::SimpleValueType getRegisterValueType(Record *R, in getRegisterValueType()
28 MVT::SimpleValueType VT = MVT::Other; in getRegisterValueType()
797 SmallVector<MVT::SimpleValueType, 4> ResultVTs; in EmitResultInstructionAsOperand()
DCodeGenInstruction.h268 MVT::SimpleValueType
DIntrinsicEmitter.cpp269 static void EncodeFixedValueType(MVT::SimpleValueType VT, in EncodeFixedValueType()
316 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
DCodeGenInstruction.cpp359 MVT::SimpleValueType CodeGenInstruction::
366 const std::vector<MVT::SimpleValueType> &RegVTs = in HasOneImplicitDefWithKnownVT()
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp180 static const CostTblEntry<MVT::SimpleValueType> AVX2CostTable[] = { in getArithmeticInstrCost()
222 static const CostTblEntry<MVT::SimpleValueType> in getArithmeticInstrCost()
250 static const CostTblEntry<MVT::SimpleValueType> SSE2CostTable[] = { in getArithmeticInstrCost()
296 static const CostTblEntry<MVT::SimpleValueType> AVX1CostTable[] = { in getArithmeticInstrCost()
321 static const CostTblEntry<MVT::SimpleValueType> CustomLowered[] = { in getArithmeticInstrCost()
364 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
402 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
470 static const CostTblEntry<MVT::SimpleValueType> SSE42CostTbl[] = { in getCmpSelInstrCost()
479 static const CostTblEntry<MVT::SimpleValueType> AVX1CostTbl[] = { in getCmpSelInstrCost()
489 static const CostTblEntry<MVT::SimpleValueType> AVX2CostTbl[] = { in getCmpSelInstrCost()
[all …]
DX86RegisterInfo.h134 unsigned getX86SubSuperRegister(unsigned, MVT::SimpleValueType, bool High=false);
DX86AsmPrinter.cpp245 MVT::SimpleValueType VT = (strcmp(Modifier+6,"64") == 0) ? in printOperand()
399 MVT::SimpleValueType Ty = Subtarget->is64Bit() ? MVT::i64 : MVT::i32; in printAsmMRegister()
/freebsd-9-stable/contrib/llvm/include/llvm/CodeGen/
DValueTypes.h35 enum SimpleValueType { enum
161 SimpleValueType SimpleTy;
163 MVT() : SimpleTy((SimpleValueType)(INVALID_SIMPLE_VALUE_TYPE)) {} in MVT()
164 MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT()
484 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
562 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
582 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), in EVT()
584 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT()
817 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
/freebsd-9-stable/contrib/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp188 static const CostTblEntry<MVT::SimpleValueType> NEONFltDblTbl[] = { in getCastInstrCost()
212 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
296 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
327 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
359 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCastInstrCost()
401 static const TypeConversionCostTblEntry<MVT::SimpleValueType> in getCmpSelInstrCost()
449 static const CostTblEntry<MVT::SimpleValueType> NEONShuffleTbl[] = { in getShuffleCost()
480 static const CostTblEntry<MVT::SimpleValueType> CostTbl[] = { in getArithmeticInstrCost()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DTargetLoweringBase.cpp717 setIndexedLoadAction(IM, (MVT::SimpleValueType)VT, Expand); in initActions()
718 setIndexedStoreAction(IM, (MVT::SimpleValueType)VT, Expand); in initActions()
722 setOperationAction(ISD::FGETSIGN, (MVT::SimpleValueType)VT, Expand); in initActions()
723 setOperationAction(ISD::CONCAT_VECTORS, (MVT::SimpleValueType)VT, Expand); in initActions()
726 setOperationAction(ISD::FROUND, (MVT::SimpleValueType)VT, Expand); in initActions()
731 setOperationAction(ISD::FCOPYSIGN, (MVT::SimpleValueType)VT, Expand); in initActions()
934 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
949 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
950 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
951 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/R600/
DAMDILISelLowering.cpp95 MVT::SimpleValueType VT = (MVT::SimpleValueType)types[x]; in InitAMDILLowering()
116 MVT::SimpleValueType VT = (MVT::SimpleValueType)FloatTypes[x]; in InitAMDILLowering()
131 MVT::SimpleValueType VT = (MVT::SimpleValueType)IntTypes[x]; in InitAMDILLowering()
149 MVT::SimpleValueType VT = (MVT::SimpleValueType)VectorTypes[ii]; in InitAMDILLowering()
DAMDGPUISelLowering.cpp151 static const MVT::SimpleValueType IntTypes[] = { in AMDGPUTargetLowering()
157 MVT::SimpleValueType VT = IntTypes[x]; in AMDGPUTargetLowering()
177 static const MVT::SimpleValueType FloatTypes[] = { in AMDGPUTargetLowering()
183 MVT::SimpleValueType VT = FloatTypes[x]; in AMDGPUTargetLowering()
/freebsd-9-stable/contrib/llvm/lib/Target/Mips/
DMipsSEISelLowering.h27 void addMSAIntType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC);
30 void addMSAFloatType(MVT::SimpleValueType Ty,
/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp2189 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2215 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
2706 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2775 MVT::SimpleValueType VT = in SelectCodeCommon()
2776 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2785 MVT::SimpleValueType VT = in SelectCodeCommon()
2786 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2796 MVT::SimpleValueType VT = in SelectCodeCommon()
2797 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2929 MVT::SimpleValueType VT = in SelectCodeCommon()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/Target/
DTargetLowering.h228 MVT::SimpleValueType getCmpLibcallReturnType() const;
560 std::map<std::pair<unsigned, MVT::SimpleValueType>, in getTypeToPromoteTo()
561 MVT::SimpleValueType>::const_iterator PTTI = in getTypeToPromoteTo()
570 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); in getTypeToPromoteTo()
1617 std::map<std::pair<unsigned, MVT::SimpleValueType>, MVT::SimpleValueType>

12