Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenTarget.h52 MVT::SimpleValueType getValueType(Record *Rec);
54 std::string getName(MVT::SimpleValueType T);
55 std::string getEnumName(MVT::SimpleValueType T);
70 mutable std::vector<MVT::SimpleValueType> LegalValueTypes;
116 std::vector<MVT::SimpleValueType> getRegisterVTs(Record *R) const;
118 const std::vector<MVT::SimpleValueType> &getLegalValueTypes() const { in getLegalValueTypes()
125 bool isLegalValueType(MVT::SimpleValueType VT) const { in isLegalValueType()
126 const std::vector<MVT::SimpleValueType> &LegalVTs = getLegalValueTypes(); in isLegalValueType()
171 MVT::SimpleValueType Ty;
180 MVT::SimpleValueType getValueType() const { return Ty; } in getValueType()
DDAGISelMatcher.h499 MVT::SimpleValueType Type;
502 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
505 MVT::SimpleValueType getType() const { return Type; } in getType()
528 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
530 SwitchTypeMatcher(const std::pair<MVT::SimpleValueType, Matcher*> *cases, in SwitchTypeMatcher() argument
540 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
555 MVT::SimpleValueType Type;
557 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
561 MVT::SimpleValueType getType() const { return Type; } in getType()
771 MVT::SimpleValueType VT;
[all …]
DCodeGenTarget.cpp36 MVT::SimpleValueType llvm::getValueType(Record *Rec) { in getValueType()
37 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
40 std::string llvm::getName(MVT::SimpleValueType T) { in getName()
49 std::string llvm::getEnumName(MVT::SimpleValueType T) { in getEnumName()
183 std::vector<MVT::SimpleValueType> CodeGenTarget::
186 std::vector<MVT::SimpleValueType> Result; in getRegisterVTs()
191 const std::vector<MVT::SimpleValueType> &InVTs = RC.getValueTypes(); in getRegisterVTs()
404 std::vector<MVT::SimpleValueType> OverloadedVTs; in CodeGenIntrinsic()
409 MVT::SimpleValueType VT; in CodeGenIntrinsic()
443 MVT::SimpleValueType VT; in CodeGenIntrinsic()
DCodeGenDAGPatterns.h57 SmallVector<MVT::SimpleValueType, 4> TypeVec;
60 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
61 TypeSet(const std::vector<MVT::SimpleValueType> &VTList);
72 MVT::SimpleValueType getConcrete() const { in getConcrete()
74 return (MVT::SimpleValueType)TypeVec[0]; in getConcrete()
81 const SmallVectorImpl<MVT::SimpleValueType> &getTypeList() const { in getTypeList()
110 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) { in MergeInTypeInfo()
146 bool (*Pred)(MVT::SimpleValueType) = 0,
168 MVT::SimpleValueType VT;
225 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
[all …]
DCodeGenIntrinsics.h44 std::vector<MVT::SimpleValueType> RetVTs;
53 std::vector<MVT::SimpleValueType> ParamVTs;
DFastISelEmitter.cpp171 MVT::SimpleValueType VT, in initialize()
359 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
360 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
488 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
490 MVT::SimpleValueType VT = RetVT; in collectPatterns()
596 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
601 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
676 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
770 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
DCodeGenRegisters.h110 std::vector<MVT::SimpleValueType> VTs;
125 const std::vector<MVT::SimpleValueType> &getValueTypes() const {return VTs;} in getValueTypes()
128 MVT::SimpleValueType getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
DCodeGenDAGPatterns.cpp29 static inline bool isInteger(MVT::SimpleValueType VT) { in isInteger()
32 static inline bool isFloatingPoint(MVT::SimpleValueType VT) { in isFloatingPoint()
35 static inline bool isVector(MVT::SimpleValueType VT) { in isVector()
38 static inline bool isScalar(MVT::SimpleValueType VT) { in isScalar()
42 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
57 EEVT::TypeSet::TypeSet(const std::vector<MVT::SimpleValueType> &VTList) { in TypeSet()
73 bool (*Pred)(MVT::SimpleValueType), in FillWithPossibleTypes() argument
76 const std::vector<MVT::SimpleValueType> &LegalTypes = in FillWithPossibleTypes()
387 MVT::SimpleValueType SmallestInt = MVT::LAST_VALUETYPE; in EnforceSmallerThan()
397 MVT::SimpleValueType SmallestFP = MVT::LAST_VALUETYPE; in EnforceSmallerThan()
[all …]
DDAGISelMatcher.cpp338 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
339 MVT::SimpleValueType T2) { in TypesAreContradictory()
372 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
/external/llvm/utils/TableGen/
DCodeGenTarget.h53 MVT::SimpleValueType getValueType(Record *Rec);
55 StringRef getName(MVT::SimpleValueType T);
56 StringRef 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()
194 MVT::SimpleValueType Ty;
203 MVT::SimpleValueType getValueType() const { return Ty; } in getValueType()
DDAGISelMatcher.h483 MVT::SimpleValueType Type;
486 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
489 MVT::SimpleValueType getType() const { return Type; } in getType()
509 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
511 SwitchTypeMatcher(ArrayRef<std::pair<MVT::SimpleValueType, Matcher*> > cases) in SwitchTypeMatcher() argument
521 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
535 MVT::SimpleValueType Type;
537 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
541 MVT::SimpleValueType getType() const { return Type; } in getType()
749 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);
162 bool (*Pred)(MVT::SimpleValueType) = nullptr,
184 MVT::SimpleValueType VT;
[all …]
DCodeGenTarget.cpp38 MVT::SimpleValueType llvm::getValueType(Record *Rec) { in getValueType()
39 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
42 StringRef llvm::getName(MVT::SimpleValueType T) { in getName()
51 StringRef llvm::getEnumName(MVT::SimpleValueType T) { in getEnumName()
242 std::vector<MVT::SimpleValueType> CodeGenTarget::
245 std::vector<MVT::SimpleValueType> Result; in getRegisterVTs()
248 ArrayRef<MVT::SimpleValueType> InVTs = RC.getValueTypes(); in getRegisterVTs()
497 std::vector<MVT::SimpleValueType> OverloadedVTs; in CodeGenIntrinsic()
502 MVT::SimpleValueType VT; in CodeGenIntrinsic()
536 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;
512 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
514 MVT::SimpleValueType VT = RetVT; in collectPatterns()
708 MVT::SimpleValueType VT = TI->first; in printFunctionDefinitions()
713 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
740 MVT::SimpleValueType RetVT = RI->first; in printFunctionDefinitions()
[all …]
DCodeGenIntrinsics.h44 std::vector<MVT::SimpleValueType> RetVTs;
53 std::vector<MVT::SimpleValueType> ParamVTs;
DDAGISelMatcherOpt.cpp122 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes()
397 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes()
403 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorNodes()
/external/llvm/include/llvm/CodeGen/
DMachineValueType.h31 enum SimpleValueType : int8_t { enum
179 SimpleValueType SimpleTy;
182 LLVM_CONSTEXPR MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT()
572 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
662 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
673 SimpleValueType VT;
674 mvt_iterator(SimpleValueType VT) : VT(VT) {} in mvt_iterator()
678 VT = (MVT::SimpleValueType)((int)VT + 1);
695 (MVT::SimpleValueType)(MVT::LAST_INTEGER_VALUETYPE + 1)); in integer_valuetypes()
699 (MVT::SimpleValueType)(MVT::LAST_FP_VALUETYPE + 1)); in fp_valuetypes()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp100 MVT::SimpleValueType getSimpleType(Type *Ty) { in getSimpleType()
105 MVT::SimpleValueType getLegalType(MVT::SimpleValueType VT) { in getLegalType()
128 MVT::SimpleValueType From);
130 MVT::SimpleValueType From);
132 MVT::SimpleValueType From,
133 MVT::SimpleValueType To);
135 MVT::SimpleValueType From,
136 MVT::SimpleValueType To);
383 MVT::SimpleValueType From) { in zeroExtendToI32()
417 MVT::SimpleValueType From) { in signExtendToI32()
[all …]
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h356 const RegisterBank *getRegBankForType(MVT::SimpleValueType SVT) const { in getRegBankForType()
359 assert(SVT < MVT::SimpleValueType::LAST_VALUETYPE && "Out-of-bound access"); in getRegBankForType()
371 MVT::SimpleValueType SVT, bool Force = false) {
374 new const RegisterBank *[MVT::SimpleValueType::LAST_VALUETYPE]);
376 &VTToRegBank[MVT::SimpleValueType::LAST_VALUETYPE], nullptr);
378 assert(SVT < MVT::SimpleValueType::LAST_VALUETYPE && "Out-of-bound access");
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DValueTypes.h34 enum SimpleValueType { enum
132 SimpleValueType SimpleTy;
134 MVT() : SimpleTy((SimpleValueType)(INVALID_SIMPLE_VALUE_TYPE)) {} in MVT()
135 MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT()
189 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorElementType()
318 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
372 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
386 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), in EVT()
388 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT()
630 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
/external/llvm/include/llvm/Target/
DCostTable.h26 MVT::SimpleValueType Type;
46 MVT::SimpleValueType Dst;
47 MVT::SimpleValueType Src;
/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/CodeGen/
DTargetRegisterInfo.cpp181 const MVT::SimpleValueType SVT = in firstCommonClass()
182 MVT::SimpleValueType::Any) { in firstCommonClass()
188 if (SVT == MVT::SimpleValueType::Any || RC->hasType(VT)) in firstCommonClass()
197 const MVT::SimpleValueType SVT) const { in getCommonSubClass()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.h28 void addMSAIntType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC);
31 void addMSAFloatType(MVT::SimpleValueType Ty,
/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()

123