Home
last modified time | relevance | path

Searched refs:SimpleValueType (Results 1 – 25 of 46) 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);
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 std::string llvm::getName(MVT::SimpleValueType T) { in getName()
51 std::string 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;
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()
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()
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()
DCallingConvEmitter.cpp223 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
237 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
DCodeGenDAGPatterns.cpp35 static inline bool isInteger(MVT::SimpleValueType VT) { in isInteger()
38 static inline bool isFloatingPoint(MVT::SimpleValueType VT) { in isFloatingPoint()
41 static inline bool isVector(MVT::SimpleValueType VT) { in isVector()
44 static inline bool isScalar(MVT::SimpleValueType VT) { in isScalar()
48 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
63 EEVT::TypeSet::TypeSet(ArrayRef<MVT::SimpleValueType> VTList) { in TypeSet()
79 bool (*Pred)(MVT::SimpleValueType), in FillWithPossibleTypes() argument
82 ArrayRef<MVT::SimpleValueType> LegalTypes = in FillWithPossibleTypes()
88 for (MVT::SimpleValueType VT : LegalTypes) in FillWithPossibleTypes()
454 bool EEVT::TypeSet::EnforceVectorEltTypeIs(MVT::SimpleValueType VT, in EnforceVectorEltTypeIs()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineValueType.h31 enum SimpleValueType { enum
179 SimpleValueType SimpleTy;
182 LLVM_CONSTEXPR MVT(SimpleValueType SVT) : SimpleTy(SVT) { } in MVT()
565 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
655 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
666 SimpleValueType VT;
667 mvt_iterator(SimpleValueType VT) : VT(VT) {} in mvt_iterator()
671 VT = (MVT::SimpleValueType)((int)VT + 1);
688 (MVT::SimpleValueType)(MVT::LAST_INTEGER_VALUETYPE + 1)); in integer_valuetypes()
692 (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()
293 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;
DTargetRegisterInfo.h60 typedef const MVT::SimpleValueType* vt_iterator;
628 const MVT::SimpleValueType SVT =
629 MVT::SimpleValueType::Any) const;
/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/X86/
DX86RegisterInfo.h141 unsigned getX86SubSuperRegister(unsigned, MVT::SimpleValueType, bool High=false);
145 unsigned getX86SubSuperRegisterOrZero(unsigned, MVT::SimpleValueType,
/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp188 const MVT::SimpleValueType SVT = in firstCommonClass()
189 MVT::SimpleValueType::Any) { in firstCommonClass()
195 if (SVT == MVT::SimpleValueType::Any || RC->hasType(VT)) in firstCommonClass()
204 const MVT::SimpleValueType SVT) const { in getCommonSubClass()
DTargetLoweringBase.cpp1189 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
1204 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
1205 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
1206 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
1215 MVT IVT = (MVT::SimpleValueType)IntReg; in computeRegisterProperties()
1220 (const MVT::SimpleValueType)LegalIntReg; in computeRegisterProperties()
1273 MVT VT = (MVT::SimpleValueType) i; in computeRegisterProperties()
1286 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
1306 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
1360 std::tie(RRC, Cost) = findRepresentativeClass(TRI, (MVT::SimpleValueType)i); in computeRegisterProperties()
[all …]
/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.cpp139 unsigned AddressReg(MVT::SimpleValueType VT) const { in AddressReg()
143 unsigned ShadowReg(MVT::SimpleValueType VT) const { in ShadowReg()
147 unsigned ScratchReg(MVT::SimpleValueType VT) const { in ScratchReg()
161 unsigned ChooseFrameReg(MVT::SimpleValueType VT) const { in ChooseFrameReg()
173 unsigned convReg(unsigned Reg, MVT::SimpleValueType VT) const { in convReg()
238 void EmitLEA(X86Operand &Op, MVT::SimpleValueType VT, unsigned Reg, in EmitLEA()
248 void ComputeMemOperandAddress(X86Operand &Op, MVT::SimpleValueType VT,
435 MVT::SimpleValueType VT, in ComputeMemOperandAddress()
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp102 O << WebAssembly::TypeToString(MVT::SimpleValueType(Op.getImm())); in printOperand()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp2376 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2403 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
2912 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2989 MVT::SimpleValueType VT = in SelectCodeCommon()
2990 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3000 MVT::SimpleValueType VT = in SelectCodeCommon()
3001 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3011 MVT::SimpleValueType VT = in SelectCodeCommon()
3012 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3146 MVT::SimpleValueType VT = in SelectCodeCommon()
[all …]

12