Home
last modified time | relevance | path

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

123

/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 DDAGISelMatcher.cpp289 for (MVT::SimpleValueType VT : VTs) in printImpl()
324 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
325 MVT::SimpleValueType T2) { in TypesAreContradictory()
359 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
H A DCodeGenTarget.h47 MVT::SimpleValueType getValueType(const Record *Rec);
49 StringRef getEnumName(MVT::SimpleValueType T);
H A DCodeGenTarget.cpp45 MVT::SimpleValueType llvm::getValueType(const Record *Rec) { in getValueType()
46 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
49 StringRef llvm::getEnumName(MVT::SimpleValueType T) { in getEnumName()
H A DCodeGenDAGPatterns.h118 return MVT::SimpleValueType(Pos);
194 TypeSetByHwMode(MVT::SimpleValueType VT) in TypeSetByHwMode()
262 bool MergeInTypeInfo(TypeSetByHwMode &Out, MVT::SimpleValueType InVT) const { in MergeInTypeInfo()
455 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
701 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType()
853 bool UpdateNodeType(unsigned ResNo, MVT::SimpleValueType InTy,
1005 MVT::SimpleValueType InTy, in UpdateNodeType()
H A DCodeGenInstruction.h308 MVT::SimpleValueType
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp113 MVT::SimpleValueType getSimpleType(Type *Ty) { in getSimpleType()
118 MVT::SimpleValueType getLegalType(MVT::SimpleValueType VT) { in getLegalType()
161 MVT::SimpleValueType From);
163 MVT::SimpleValueType From);
164 unsigned zeroExtend(unsigned Reg, const Value *V, MVT::SimpleValueType From,
165 MVT::SimpleValueType To);
166 unsigned signExtend(unsigned Reg, const Value *V, MVT::SimpleValueType From,
167 MVT::SimpleValueType To);
451 MVT::SimpleValueType From) { in zeroExtendToI32()
487 MVT::SimpleValueType From) { in signExtendToI32()
[all …]
/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 DSDNodeInfo.h55 MVT::SimpleValueType VT;
H A DValueTypes.h42 constexpr EVT(MVT::SimpleValueType SVT) : V(SVT) {} in EVT()
430 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
H A DTargetRegisterInfo.h240 using vt_iterator = const MVT::SimpleValueType *;
265 const MVT::SimpleValueType *const RCVTLists;
274 const MVT::SimpleValueType *const RCVTLists,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h38 enum SimpleValueType : uint16_t { enum
56 SimpleValueType SimpleTy = INVALID_SIMPLE_VALUE_TYPE;
59 constexpr MVT(SimpleValueType SVT) : SimpleTy(SVT) {} in MVT()
266 static constexpr SimpleValueType EltTyTable[] = { in getVectorElementType()
272 SimpleValueType VT = EltTyTable[SimpleTy - FIRST_VALUETYPE]; in getVectorElementType()
450 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
460 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
470 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getScalableVectorVT()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp196 MVT::SimpleValueType VT, ImmPredicateSet &ImmediatePredicates, in initialize()
376 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
377 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
385 std::set<std::tuple<OperandsSignature, StringRef, MVT::SimpleValueType,
386 MVT::SimpleValueType, std::string>>
510 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
513 MVT::SimpleValueType VT = RetVT; in collectPatterns()
H A DDAGISelMatcherGen.cpp26 static MVT::SimpleValueType getRegisterValueType(const Record *R, in getRegisterValueType()
29 MVT::SimpleValueType VT = MVT::Other; in getRegisterValueType()
690 MVT::SimpleValueType ResultVT = N.getSimpleType(0); in EmitResultLeafAsOperand()
899 SmallVector<MVT::SimpleValueType, 4> ResultVTs; in EmitResultInstructionAsOperand()
976 for (MVT::SimpleValueType ResultVT : ResultVTs) { in EmitResultInstructionAsOperand()
H A DDAGISelMatcherOpt.cpp285 ArrayRef<MVT::SimpleValueType> VTs = EN->getVTList(); in ContractNodes()
559 SmallVector<std::pair<MVT::SimpleValueType, Matcher *>, 8> Cases; in FactorScope()
566 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorScope()
H A DCallingConvEmitter.cpp283 MVT::SimpleValueType DestVT = getValueType(DestTy); in emitAction()
297 MVT::SimpleValueType DestVT = getValueType(DestTy); in emitAction()
H A DDAGISelMatcherEmitter.cpp655 MVT::SimpleValueType VT = cast<CheckTypeMatcher>(N)->getType(); in EmitMatcher()
679 MVT::SimpleValueType VT = cast<CheckChildTypeMatcher>(N)->getType(); in EmitMatcher()
787 MVT::SimpleValueType VT = cast<EmitIntegerMatcher>(N)->getVT(); in EmitMatcher()
812 MVT::SimpleValueType VT = cast<EmitStringIntegerMatcher>(N)->getVT(); in EmitMatcher()
837 MVT::SimpleValueType VT = Matcher->getVT(); in EmitMatcher()
H A DRegisterInfoEmitter.cpp608 static void printSimpleValueType(raw_ostream &OS, MVT::SimpleValueType VT) { in printSimpleValueType()
1259 SequenceToOffsetTable<std::vector<MVT::SimpleValueType>> VTSeqs( in runTargetDesc()
1263 std::vector<MVT::SimpleValueType> S; in runTargetDesc()
1327 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/
H A DTargetLoweringBase.cpp1355 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
1370 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
1371 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
1372 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
1381 MVT IVT = (MVT::SimpleValueType)IntReg; in computeRegisterProperties()
1386 (MVT::SimpleValueType)LegalIntReg; in computeRegisterProperties()
1478 MVT VT = (MVT::SimpleValueType) i; in computeRegisterProperties()
1489 MVT::SimpleValueType EndVT = IsScalable ? in computeRegisterProperties()
1495 (MVT::SimpleValueType)nVT <= EndVT; ++nVT) { in computeRegisterProperties()
1496 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h32 MVT::SimpleValueType getCmpLibcallReturnType() const override { in getCmpLibcallReturnType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2673 LLVM_ATTRIBUTE_ALWAYS_INLINE static MVT::SimpleValueType
2679 return static_cast<MVT::SimpleValueType>(SimpleVT); in getSimpleVT()
2923 LLVM_ATTRIBUTE_ALWAYS_INLINE static bool CheckType(MVT::SimpleValueType VT, in CheckType()
2935 CheckChildType(MVT::SimpleValueType VT, SDValue N, const TargetLowering *TLI, in CheckChildType()
2960 MVT::SimpleValueType VT = getSimpleVT(MatcherTable, MatcherIndex); in CheckValueType()
3081 MVT::SimpleValueType VT; in IsPredicateKnownToFail()
3126 MVT::SimpleValueType VT; in IsPredicateKnownToFail()
3636 MVT::SimpleValueType VT; in SelectCodeCommon()
3747 MVT::SimpleValueType VT; in SelectCodeCommon()
3836 MVT::SimpleValueType VT; in SelectCodeCommon()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.h36 MVT::SimpleValueType getCmpLibcallReturnType() const override { in getCmpLibcallReturnType()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp985 pickOpcodeForVT(MVT::SimpleValueType VT, std::optional<unsigned> Opcode_i8, in pickOpcodeForVT()
1059 const MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLoad()
1206 const MVT::SimpleValueType TargetVT = LD->getSimpleValueType(0).SimpleTy; in tryLDG()
1258 const MVT::SimpleValueType SelectVT = in tryLDU()
1398 const MVT::SimpleValueType EltVT = in tryStoreVector()
1534 MVT::SimpleValueType MemTy, in pickOpcodeForVectorStParam()
1634 MVT::SimpleValueType MemTy = Mem->getMemoryVT().getSimpleVT().SimpleTy; in tryStoreParam()
1676 MVT::SimpleValueType MemTy = Mem->getMemoryVT().getSimpleVT().SimpleTy; in tryStoreParam()

123