Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.h520 MVT::SimpleValueType Type;
524 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
527 MVT::SimpleValueType getType() const { return Type; } in getType()
545 SmallVector<std::pair<MVT::SimpleValueType, Matcher *>, 8> Cases;
549 SmallVectorImpl<std::pair<MVT::SimpleValueType, Matcher *>> &&cases) in SwitchTypeMatcher() argument
557 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
570 MVT::SimpleValueType Type;
573 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
577 MVT::SimpleValueType getType() const { return Type; } in getType()
687 MVT::SimpleValueType VT;
[all …]
H A DCodeGenTarget.h46 MVT::SimpleValueType getValueType(const Record *Rec);
48 StringRef getName(MVT::SimpleValueType T);
49 StringRef getEnumName(MVT::SimpleValueType T);
H A DCodeGenTarget.cpp46 MVT::SimpleValueType llvm::getValueType(const Record *Rec) { in getValueType()
47 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
50 StringRef llvm::getName(MVT::SimpleValueType T) { in getName()
63 StringRef llvm::getEnumName(MVT::SimpleValueType T) { in getEnumName()
H A DCodeGenDAGPatterns.h56 static_assert(std::is_same<std::underlying_type_t<MVT::SimpleValueType>,
118 return MVT::SimpleValueType(Pos);
194 TypeSetByHwMode(MVT::SimpleValueType VT) in TypeSetByHwMode()
264 bool MergeInTypeInfo(TypeSetByHwMode &Out, MVT::SimpleValueType InVT) const { in MergeInTypeInfo()
467 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
702 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType()
842 bool UpdateNodeType(unsigned ResNo, MVT::SimpleValueType InTy,
991 MVT::SimpleValueType InTy, in UpdateNodeType()
H A DDAGISelMatcher.cpp330 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
331 MVT::SimpleValueType T2) { in TypesAreContradictory()
365 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
H A DCodeGenInstruction.h310 MVT::SimpleValueType
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp119 MVT::SimpleValueType getSimpleType(Type *Ty) { in getSimpleType()
124 MVT::SimpleValueType getLegalType(MVT::SimpleValueType VT) { in getLegalType()
167 MVT::SimpleValueType From);
169 MVT::SimpleValueType From);
170 unsigned zeroExtend(unsigned Reg, const Value *V, MVT::SimpleValueType From,
171 MVT::SimpleValueType To);
172 unsigned signExtend(unsigned Reg, const Value *V, MVT::SimpleValueType From,
173 MVT::SimpleValueType To);
445 MVT::SimpleValueType From) { in zeroExtendToI32()
481 MVT::SimpleValueType From) { in signExtendToI32()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h36 enum SimpleValueType : uint8_t { enum
53 SimpleValueType SimpleTy = INVALID_SIMPLE_VALUE_TYPE;
56 constexpr MVT(SimpleValueType SVT) : SimpleTy(SVT) {} in MVT()
256 static constexpr SimpleValueType EltTyTable[] = { in getVectorElementType()
261 SimpleValueType VT = EltTyTable[SimpleTy - FIRST_VALUETYPE]; in getVectorElementType()
437 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
447 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
457 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getScalableVectorVT()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCostTable.h27 MVT::SimpleValueType Type;
57 MVT::SimpleValueType Dst;
58 MVT::SimpleValueType Src;
H A DValueTypes.h41 constexpr EVT(MVT::SimpleValueType SVT) : V(SVT) {} in EVT()
420 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
H A DTargetRegisterInfo.h241 using vt_iterator = const MVT::SimpleValueType *;
266 const MVT::SimpleValueType *const RCVTLists;
275 const MVT::SimpleValueType *const RCVTLists,
H A DTargetLowering.h973 MVT::SimpleValueType getCmpLibcallReturnType() const;
1631 std::map<std::pair<unsigned, MVT::SimpleValueType>, in getTypeToPromoteTo()
1632 MVT::SimpleValueType>::const_iterator PTTI = in getTypeToPromoteTo()
1642 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); in getTypeToPromoteTo()
3631 std::map<std::pair<unsigned, MVT::SimpleValueType>, MVT::SimpleValueType>
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp204 MVT::SimpleValueType VT, ImmPredicateSet &ImmediatePredicates, in initialize()
388 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
389 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
397 std::set<std::tuple<OperandsSignature, std::string, MVT::SimpleValueType,
398 MVT::SimpleValueType, std::string>>
529 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
532 MVT::SimpleValueType VT = RetVT; in collectPatterns()
712 MVT::SimpleValueType VT = TI.first; in printFunctionDefinitions()
716 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions()
740 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions()
[all …]
H A DDAGISelMatcherOpt.cpp125 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes()
439 SmallVector<std::pair<MVT::SimpleValueType, Matcher *>, 8> Cases; in FactorNodes()
446 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorNodes()
H A DDAGISelMatcherGen.cpp26 static MVT::SimpleValueType getRegisterValueType(Record *R, in getRegisterValueType()
29 MVT::SimpleValueType VT = MVT::Other; in getRegisterValueType()
691 MVT::SimpleValueType ResultVT = N.getSimpleType(0); in EmitResultLeafAsOperand()
898 SmallVector<MVT::SimpleValueType, 4> ResultVTs; in EmitResultInstructionAsOperand()
H A DDAGISelMatcherEmitter.cpp644 MVT::SimpleValueType VT = cast<CheckTypeMatcher>(N)->getType(); in EmitMatcher()
660 MVT::SimpleValueType VT = cast<CheckChildTypeMatcher>(N)->getType(); in EmitMatcher()
758 MVT::SimpleValueType VT = cast<EmitIntegerMatcher>(N)->getVT(); in EmitMatcher()
779 MVT::SimpleValueType VT = cast<EmitStringIntegerMatcher>(N)->getVT(); in EmitMatcher()
799 MVT::SimpleValueType VT = Matcher->getVT(); in EmitMatcher()
H A DCallingConvEmitter.cpp301 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
315 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
H A DRegisterInfoEmitter.cpp614 static void printSimpleValueType(raw_ostream &OS, MVT::SimpleValueType VT) { in printSimpleValueType()
1221 SequenceToOffsetTable<std::vector<MVT::SimpleValueType>> VTSeqs; in runTargetDesc()
1224 std::vector<MVT::SimpleValueType> S; in runTargetDesc()
1288 std::vector<MVT::SimpleValueType> VTs; in runTargetDesc()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.h36 void addMSAIntType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC);
40 void addMSAFloatType(MVT::SimpleValueType Ty,
H A DMipsOptimizePICCall.cpp136 static MVT::SimpleValueType getRegTy(unsigned Reg, MachineFunction &MF) { in getRegTy()
166 MVT::SimpleValueType Ty = getRegTy(MI.getOperand(0).getReg(), MF); in eraseGPOpnd()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2866 LLVM_ATTRIBUTE_ALWAYS_INLINE static bool CheckType(MVT::SimpleValueType VT, in CheckType()
2878 CheckChildType(MVT::SimpleValueType VT, SDValue N, const TargetLowering *TLI, in CheckChildType()
2903 MVT::SimpleValueType VT = in CheckValueType()
2904 static_cast<MVT::SimpleValueType>(MatcherTable[MatcherIndex++]); in CheckValueType()
3025 MVT::SimpleValueType VT; in IsPredicateKnownToFail()
3034 VT = static_cast<MVT::SimpleValueType>(Table[Index++]); in IsPredicateKnownToFail()
3042 Result = !::CheckType(static_cast<MVT::SimpleValueType>(Table[Index++]), in IsPredicateKnownToFail()
3071 MVT::SimpleValueType VT; in IsPredicateKnownToFail()
3082 VT = static_cast<MVT::SimpleValueType>(Table[Index++]); in IsPredicateKnownToFail()
3577 MVT::SimpleValueType VT; in SelectCodeCommon()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1256 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
1271 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
1272 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
1273 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
1282 MVT IVT = (MVT::SimpleValueType)IntReg; in computeRegisterProperties()
1287 (MVT::SimpleValueType)LegalIntReg; in computeRegisterProperties()
1379 MVT VT = (MVT::SimpleValueType) i; in computeRegisterProperties()
1390 MVT::SimpleValueType EndVT = IsScalable ? in computeRegisterProperties()
1396 (MVT::SimpleValueType)nVT <= EndVT; ++nVT) { in computeRegisterProperties()
1397 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h82 MVT::SimpleValueType getCmpLibcallReturnType() const override { in getCmpLibcallReturnType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.h94 MVT::SimpleValueType getCmpLibcallReturnType() const override { in getCmpLibcallReturnType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp541 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost()
719 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getIntrinsicInstrCost()

12