Home
last modified time | relevance | path

Searched refs:SimpleValueType (Results 1 – 25 of 36) 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);
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.h498 MVT::SimpleValueType Type;
501 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
504 MVT::SimpleValueType getType() const { return Type; } in getType()
527 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
529 SwitchTypeMatcher(const std::pair<MVT::SimpleValueType, Matcher*> *cases, in SwitchTypeMatcher() argument
539 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
554 MVT::SimpleValueType Type;
556 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
560 MVT::SimpleValueType getType() const { return Type; } in getType()
770 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()
224 std::vector<MVT::SimpleValueType> CodeGenTarget::
227 std::vector<MVT::SimpleValueType> Result; in getRegisterVTs()
232 ArrayRef<MVT::SimpleValueType> InVTs = RC.getValueTypes(); in getRegisterVTs()
463 std::vector<MVT::SimpleValueType> OverloadedVTs; in CodeGenIntrinsic()
468 MVT::SimpleValueType VT; in CodeGenIntrinsic()
502 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()
365 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
366 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
492 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
494 MVT::SimpleValueType VT = RetVT; in collectPatterns()
600 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
605 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
680 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
774 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
DDAGISelMatcher.cpp344 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
345 MVT::SimpleValueType T2) { in TypesAreContradictory()
378 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
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()
419 MVT::SimpleValueType SmallestInt = MVT::LAST_VALUETYPE; in EnforceSmallerThan()
429 MVT::SimpleValueType SmallestFP = MVT::LAST_VALUETYPE; in EnforceSmallerThan()
[all …]
DCodeGenRegisters.h264 SmallVector<MVT::SimpleValueType, 4> VTs;
277 ArrayRef<MVT::SimpleValueType> getValueTypes() const {return VTs;} in getValueTypes()
280 MVT::SimpleValueType getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
DDAGISelMatcherOpt.cpp132 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes()
461 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes()
467 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorNodes()
DDAGISelEmitter.cpp86 MVT::SimpleValueType V1 = LHSSrc->getType(0), V2 = RHSSrc->getType(0); in operator ()()
DDAGISelMatcherGen.cpp25 static MVT::SimpleValueType getRegisterValueType(Record *R, in getRegisterValueType()
28 MVT::SimpleValueType VT = MVT::Other; in getRegisterValueType()
770 SmallVector<MVT::SimpleValueType, 4> ResultVTs; in EmitResultInstructionAsOperand()
DCodeGenInstruction.h265 MVT::SimpleValueType
DIntrinsicEmitter.cpp249 static void EncodeFixedValueType(MVT::SimpleValueType VT, in EncodeFixedValueType()
294 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
DCodeGenInstruction.cpp344 MVT::SimpleValueType CodeGenInstruction::
351 const std::vector<MVT::SimpleValueType> &RegVTs = in HasOneImplicitDefWithKnownVT()
DRegisterInfoEmitter.cpp546 static void printSimpleValueType(raw_ostream &OS, MVT::SimpleValueType VT) { in printSimpleValueType()
1034 SequenceToOffsetTable<SmallVector<MVT::SimpleValueType, 4> > VTSeqs; in runTargetDesc()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h35 enum SimpleValueType { enum
156 SimpleValueType SimpleTy;
158 MVT() : SimpleTy((SimpleValueType)(INVALID_SIMPLE_VALUE_TYPE)) {} in MVT()
159 MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT()
462 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
535 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
555 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), in EVT()
557 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT()
790 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp635 setIndexedLoadAction(IM, (MVT::SimpleValueType)VT, Expand); in TargetLoweringBase()
636 setIndexedStoreAction(IM, (MVT::SimpleValueType)VT, Expand); in TargetLoweringBase()
640 setOperationAction(ISD::FGETSIGN, (MVT::SimpleValueType)VT, Expand); in TargetLoweringBase()
641 setOperationAction(ISD::CONCAT_VECTORS, (MVT::SimpleValueType)VT, Expand); in TargetLoweringBase()
871 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
886 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
887 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
888 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
897 MVT IVT = (MVT::SimpleValueType)IntReg; in computeRegisterProperties()
902 (const MVT::SimpleValueType)LegalIntReg; in computeRegisterProperties()
[all …]
/external/llvm/lib/Target/R600/
DAMDILISelLowering.cpp96 MVT::SimpleValueType VT = (MVT::SimpleValueType)types[x]; in InitAMDILLowering()
117 MVT::SimpleValueType VT = (MVT::SimpleValueType)FloatTypes[x]; in InitAMDILLowering()
132 MVT::SimpleValueType VT = (MVT::SimpleValueType)IntTypes[x]; in InitAMDILLowering()
152 MVT::SimpleValueType VT = (MVT::SimpleValueType)VectorTypes[ii]; in InitAMDILLowering()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp36 MVT::SimpleValueType VecTys[2] = {MVT::v2i16, MVT::v4i8}; in MipsSETargetLowering()
79 MVT::SimpleValueType SVT = VT.getSimpleVT().SimpleTy; in allowsUnalignedMemoryAccesses()
/external/llvm/lib/Target/X86/
DX86RegisterInfo.h139 unsigned getX86SubSuperRegister(unsigned, MVT::SimpleValueType, bool High=false);
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp2047 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2074 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
2502 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2570 MVT::SimpleValueType VT = in SelectCodeCommon()
2571 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2580 MVT::SimpleValueType VT = in SelectCodeCommon()
2581 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2591 MVT::SimpleValueType VT = in SelectCodeCommon()
2592 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2724 MVT::SimpleValueType VT = in SelectCodeCommon()
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h202 MVT::SimpleValueType getCmpLibcallReturnType() const;
543 std::map<std::pair<unsigned, MVT::SimpleValueType>, in getTypeToPromoteTo()
544 MVT::SimpleValueType>::const_iterator PTTI = in getTypeToPromoteTo()
553 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); in getTypeToPromoteTo()
1585 std::map<std::pair<unsigned, MVT::SimpleValueType>, MVT::SimpleValueType>
DTargetRegisterInfo.h40 typedef const MVT::SimpleValueType* vt_iterator;
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp639 static unsigned int getVCmpInst(MVT::SimpleValueType VecVT, ISD::CondCode CC) { in getVCmpInst()
702 static unsigned int getVCmpEQInst(MVT::SimpleValueType VecVT) { in getVCmpEQInst()
805 MVT::SimpleValueType VT = VecVT.getSimpleVT().SimpleTy; in SelectSETCC()

12