Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DDAGISelMatcher.h498 MVT::SimpleValueType Type;
501 CheckTypeMatcher(MVT::SimpleValueType type, unsigned resno) in CheckTypeMatcher()
504 MVT::SimpleValueType getType() const { return Type; } in getType()
524 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
526 SwitchTypeMatcher(ArrayRef<std::pair<MVT::SimpleValueType, Matcher*> > cases) in SwitchTypeMatcher() argument
536 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
550 MVT::SimpleValueType Type;
552 CheckChildTypeMatcher(unsigned childno, MVT::SimpleValueType type) in CheckChildTypeMatcher()
556 MVT::SimpleValueType getType() const { return Type; } in getType()
819 MVT::SimpleValueType VT;
[all …]
H A DFastISelEmitter.cpp188 MVT::SimpleValueType VT, in initialize()
375 typedef std::map<MVT::SimpleValueType, PredMap> RetPredMap;
376 typedef std::map<MVT::SimpleValueType, RetPredMap> TypeRetPredMap;
384 std::set<std::tuple<OperandsSignature, std::string, MVT::SimpleValueType,
385 MVT::SimpleValueType, std::string>>
513 MVT::SimpleValueType RetVT = MVT::isVoid; in collectPatterns()
515 MVT::SimpleValueType VT = RetVT; in collectPatterns()
700 MVT::SimpleValueType VT = TI.first; in printFunctionDefinitions()
704 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions()
728 MVT::SimpleValueType RetVT = RI.first; in printFunctionDefinitions()
[all …]
H A DCodeGenTarget.h35 MVT::SimpleValueType getValueType(Record *Rec);
37 StringRef getName(MVT::SimpleValueType T);
38 StringRef getEnumName(MVT::SimpleValueType T);
H A DCodeGenIntrinsics.h45 std::vector<MVT::SimpleValueType> RetVTs;
54 std::vector<MVT::SimpleValueType> ParamVTs;
H A DCodeGenTarget.cpp42 MVT::SimpleValueType llvm::getValueType(Record *Rec) { in getValueType()
43 return (MVT::SimpleValueType)Rec->getValueAsInt("Value"); in getValueType()
46 StringRef llvm::getName(MVT::SimpleValueType T) { in getName()
55 StringRef llvm::getEnumName(MVT::SimpleValueType T) { in getEnumName()
734 std::vector<MVT::SimpleValueType> OverloadedVTs; in CodeGenIntrinsic()
743 MVT::SimpleValueType VT = getValueType(TyEl->getValueAsDef("VT")); in CodeGenIntrinsic()
756 MVT::SimpleValueType VT; in CodeGenIntrinsic()
787 MVT::SimpleValueType VT; in CodeGenIntrinsic()
H A DCodeGenDAGPatterns.h53 static_assert(std::is_same<std::underlying_type_t<MVT::SimpleValueType>,
119 return MVT::SimpleValueType(Pos);
199 TypeSetByHwMode(MVT::SimpleValueType VT) in TypeSetByHwMode()
278 bool MergeInTypeInfo(TypeSetByHwMode &Out, MVT::SimpleValueType InVT) { in MergeInTypeInfo()
477 MVT::SimpleValueType getKnownType(unsigned ResNo) const;
711 MVT::SimpleValueType getSimpleType(unsigned ResNo) const { in getSimpleType()
839 bool UpdateNodeType(unsigned ResNo, MVT::SimpleValueType InTy,
996 MVT::SimpleValueType InTy, in UpdateNodeType()
H A DDAGISelMatcherOpt.cpp125 const SmallVectorImpl<MVT::SimpleValueType> &VTs = EN->getVTList(); in ContractNodes()
410 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes()
417 MVT::SimpleValueType CTMTy = CTM->getType(); in FactorNodes()
H A DDAGISelMatcher.cpp331 static bool TypesAreContradictory(MVT::SimpleValueType T1, in TypesAreContradictory()
332 MVT::SimpleValueType T2) { in TypesAreContradictory()
365 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
H A DDAGISelMatcherGen.cpp24 static MVT::SimpleValueType getRegisterValueType(Record *R, in getRegisterValueType()
27 MVT::SimpleValueType VT = MVT::Other; in getRegisterValueType()
700 std::array<MVT::SimpleValueType, 1> ResultVTs = {{ N->getSimpleType(0) }}; in EmitResultLeafAsOperand()
912 SmallVector<MVT::SimpleValueType, 4> ResultVTs; in EmitResultInstructionAsOperand()
H A DCallingConvEmitter.cpp294 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
308 MVT::SimpleValueType DestVT = getValueType(DestTy); in EmitAction()
H A DIntrinsicEmitter.cpp261 static void EncodeFixedValueType(MVT::SimpleValueType VT, in EncodeFixedValueType()
324 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("ElTy")); in EncodeFixedType()
359 MVT::SimpleValueType VT = getValueType(R->getValueAsDef("VT")); in EncodeFixedType()
H A DCodeGenInstruction.h313 MVT::SimpleValueType
H A DRegisterInfoEmitter.cpp618 static void printSimpleValueType(raw_ostream &OS, MVT::SimpleValueType VT) { in printSimpleValueType()
1259 SequenceToOffsetTable<std::vector<MVT::SimpleValueType>> VTSeqs; in runTargetDesc()
1262 std::vector<MVT::SimpleValueType> S; in runTargetDesc()
1312 std::vector<MVT::SimpleValueType> VTs; in runTargetDesc()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp119 MVT::SimpleValueType getSimpleType(Type *Ty) { in getSimpleType()
124 MVT::SimpleValueType getLegalType(MVT::SimpleValueType VT) { in getLegalType()
163 MVT::SimpleValueType From);
165 MVT::SimpleValueType From);
166 unsigned zeroExtend(unsigned Reg, const Value *V, MVT::SimpleValueType From,
167 MVT::SimpleValueType To);
168 unsigned signExtend(unsigned Reg, const Value *V, MVT::SimpleValueType From,
169 MVT::SimpleValueType To);
441 MVT::SimpleValueType From) { in zeroExtendToI32()
477 MVT::SimpleValueType From) { in signExtendToI32()
[all …]
/openbsd-src/gnu/llvm/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()
402 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
H A DTargetLowering.h832 MVT::SimpleValueType getCmpLibcallReturnType() const;
1467 std::map<std::pair<unsigned, MVT::SimpleValueType>, in getTypeToPromoteTo()
1468 MVT::SimpleValueType>::const_iterator PTTI = in getTypeToPromoteTo()
1477 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); in getTypeToPromoteTo()
3367 std::map<std::pair<unsigned, MVT::SimpleValueType>, MVT::SimpleValueType>
/openbsd-src/gnu/llvm/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.cpp137 static MVT::SimpleValueType getRegTy(unsigned Reg, MachineFunction &MF) { in getRegTy()
167 MVT::SimpleValueType Ty = getRegTy(MI.getOperand(0).getReg(), MF); in eraseGPOpnd()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1296 RegisterTypeForVT[i] = TransformToType[i] = (MVT::SimpleValueType)i; in computeRegisterProperties()
1311 RegisterTypeForVT[ExpandedReg] = (MVT::SimpleValueType)LargestIntReg; in computeRegisterProperties()
1312 TransformToType[ExpandedReg] = (MVT::SimpleValueType)(ExpandedReg - 1); in computeRegisterProperties()
1313 ValueTypeActions.setTypeAction((MVT::SimpleValueType)ExpandedReg, in computeRegisterProperties()
1322 MVT IVT = (MVT::SimpleValueType)IntReg; in computeRegisterProperties()
1327 (MVT::SimpleValueType)LegalIntReg; in computeRegisterProperties()
1414 MVT VT = (MVT::SimpleValueType) i; in computeRegisterProperties()
1425 MVT::SimpleValueType EndVT = IsScalable ? in computeRegisterProperties()
1431 (MVT::SimpleValueType)nVT <= EndVT; ++nVT) { in computeRegisterProperties()
1432 MVT SVT = (MVT::SimpleValueType) nVT; in computeRegisterProperties()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DMachineValueType.h33 enum SimpleValueType : uint8_t { enum
341 SimpleValueType SimpleTy = INVALID_SIMPLE_VALUE_TYPE;
344 constexpr MVT(SimpleValueType SVT) : SimpleTy(SVT) {} in MVT()
1243 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getIntegerVT()
1411 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getVectorVT()
1491 return (MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE); in getScalableVectorVT()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp2593 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2628 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
3227 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3323 MVT::SimpleValueType VT = in SelectCodeCommon()
3324 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3336 MVT::SimpleValueType VT = in SelectCodeCommon()
3337 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3347 MVT::SimpleValueType VT = in SelectCodeCommon()
3348 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3508 MVT::SimpleValueType VT = in SelectCodeCommon()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h82 MVT::SimpleValueType getCmpLibcallReturnType() const override { in getCmpLibcallReturnType()
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRISelLowering.h94 MVT::SimpleValueType getCmpLibcallReturnType() const override { in getCmpLibcallReturnType()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp530 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost()
699 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getIntrinsicInstrCost()

12