| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizeMutations.cpp | 22 LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx, in changeTo() argument 25 return std::make_pair(TypeIdx, Query.Types[FromTypeIdx]); in changeTo() 32 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo() 41 const LLT OldTy = Query.Types[TypeIdx]; in changeElementTo() 49 const LLT OldTy = Query.Types[TypeIdx]; in changeElementCountTo() 60 const LLT OldTy = Query.Types[TypeIdx]; in changeElementCountTo() 70 const LLT OldTy = Query.Types[TypeIdx]; in changeElementSizeTo() 80 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextPow2() 91 const LLT Ty = Query.Types[TypeIdx]; in widenScalarOrEltToNextMultipleOf() 100 const LLT VecTy = Query.Types[TypeIdx]; in moreElementsToNextPow2() [all …]
|
| H A D | LegalityPredicates.cpp | 34 LegalityPredicates::typeInSet(unsigned TypeIdx, in typeInSet() argument 69 return Query.Types[TypeIdx].isScalar(); in isScalar() 75 return Query.Types[TypeIdx].isVector(); in isVector() 81 return Query.Types[TypeIdx].isPointer(); in isPointer() 88 LLT Ty = Query.Types[TypeIdx]; in isPointer() 96 const LLT QueryTy = Query.Types[TypeIdx]; in elementTypeIs() 104 const LLT QueryTy = Query.Types[TypeIdx]; in scalarNarrowerThan() 112 const LLT QueryTy = Query.Types[TypeIdx]; in scalarWiderThan() 136 const LLT QueryTy = Query.Types[TypeIdx]; in scalarOrEltNarrowerThan() 144 const LLT QueryTy = Query.Types[TypeIdx]; in scalarOrEltWiderThan() [all …]
|
| H A D | LegacyLegalizerInfo.cpp | 110 for (unsigned TypeIdx = 0; TypeIdx != SpecifiedActions[OpcodeIdx].size(); in computeTables() local 111 ++TypeIdx) { in computeTables() 120 for (auto LLT2Action : SpecifiedActions[OpcodeIdx][TypeIdx]) { in computeTables() 142 S = ScalarSizeChangeStrategies[OpcodeIdx][TypeIdx]; in computeTables() 155 Opcode, TypeIdx, PointerSpecifiedActions.first, in computeTables() 177 Opcode, TypeIdx, ElementSize, in computeTables() 186 VectorElementSizeChangeStrategies[OpcodeIdx][TypeIdx]; in computeTables() 339 const unsigned TypeIdx = Aspect.Idx; in findVectorLegalAction() local 340 if (TypeIdx >= ScalarInVectorActions[OpcodeIdx].size()) in findVectorLegalAction() 343 ScalarInVectorActions[OpcodeIdx][TypeIdx]; in findVectorLegalAction() [all …]
|
| H A D | LegalizerInfo.cpp | 124 const unsigned TypeIdx = Mutation.first; in mutationIsSane() local 125 const LLT OldTy = Q.Types[TypeIdx]; in mutationIsSane() 258 unsigned TypeIdx) { in getTypeFromTypeIdx() argument 259 assert(TypeIdx < MI.getNumOperands() && "Unexpected TypeIdx"); in getTypeFromTypeIdx() 263 if (MI.getOpcode() == TargetOpcode::G_UNMERGE_VALUES && TypeIdx == 1) in getTypeFromTypeIdx() 344 unsigned TypeIdx = OpInfo[i].getGenericTypeIndex(); in getAction() local 345 if (SeenTypes[TypeIdx]) in getAction() 348 SeenTypes.set(TypeIdx); in getAction() 350 LLT Ty = getTypeFromTypeIdx(MI, MRI, i, TypeIdx); in getAction()
|
| H A D | LegalizerHelper.cpp | 1783 if (TypeIdx != 1) in widenScalarMergeValues() 1904 if (TypeIdx != 0) in widenScalarUnmergeValues() 3104 if (TypeIdx != 1) in bitcastExtractVectorElt() 3240 if (TypeIdx != 0) in bitcastInsertVectorElt() 4411 if (TypeIdx != 0) in reduceLoadStoreWidth() 4662 if (TypeIdx != 0) in fewerElementsVectorShuffle() 4801 if (TypeIdx != 1) in fewerElementsVectorReductions() 5427 if (TypeIdx != 0) in moreElementsVectorShuffle() 5523 if (TypeIdx != 0) in narrowScalarAddSub() 5649 if (TypeIdx != 0) in narrowScalarFPTOI() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 147 unsigned TypeIdx; member 153 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 156 : TypeIdx(Step.TypeIdx), NewType(Step.NewType) { in LegalizeActionStep() 446 assert(TypeIdx <= in typeIdx() 452 return TypeIdx; in typeIdx() 1037 return minScalar(TypeIdx, MinTy).maxScalar(TypeIdx, MaxTy); in clampScalar() 1048 typeIdx(TypeIdx); in minScalarSameAs() 1059 typeIdx(TypeIdx); in maxScalarSameAs() 1078 typeIdx(TypeIdx); in minScalarEltSameAsIf() 1097 typeIdx(TypeIdx); in maxScalarEltSameAsIf() [all …]
|
| H A D | LegalizerHelper.h | 110 LegalizeResult bitcast(MachineInstr &MI, unsigned TypeIdx, LLT Ty); 114 LegalizeResult lower(MachineInstr &MI, unsigned TypeIdx, LLT Ty); 118 LegalizeResult fewerElementsVector(MachineInstr &MI, unsigned TypeIdx, 123 LegalizeResult moreElementsVector(MachineInstr &MI, unsigned TypeIdx, 180 widenScalarExtract(MachineInstr &MI, unsigned TypeIdx, LLT WideTy); 182 widenScalarInsert(MachineInstr &MI, unsigned TypeIdx, LLT WideTy); 187 LegalizeResult widenScalarMulo(MachineInstr &MI, unsigned TypeIdx, 318 unsigned TypeIdx, 329 LegalizeResult reduceLoadStoreWidth(GLoadStore &MI, unsigned TypeIdx, 338 unsigned TypeIdx, [all …]
|
| H A D | LegacyLegalizerInfo.h | 105 unsigned TypeIdx; member 110 unsigned TypeIdx, const LLT NewType) in LegacyLegalizeActionStep() 111 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep() 114 return std::tie(Action, TypeIdx, NewType) == 115 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType); 181 const unsigned TypeIdx, in setLegalizeScalarToDifferentSizeStrategy() argument 184 if (ScalarSizeChangeStrategies[OpcodeIdx].size() <= TypeIdx) in setLegalizeScalarToDifferentSizeStrategy() 185 ScalarSizeChangeStrategies[OpcodeIdx].resize(TypeIdx + 1); in setLegalizeScalarToDifferentSizeStrategy() 186 ScalarSizeChangeStrategies[OpcodeIdx][TypeIdx] = S; in setLegalizeScalarToDifferentSizeStrategy() 195 if (VectorElementSizeChangeStrategies[OpcodeIdx].size() <= TypeIdx) in setLegalizeVectorElementToDifferentSizeStrategy() [all …]
|
| H A D | GIMatchTableExecutorImpl.h | 728 int TypeIdx = readS8(); in executeMatchTable() local 733 << "), TypeIdx=" << TypeIdx << ")\n"); in executeMatchTable() 735 assert(TypeIdx < 0 && "Temp types always have negative indexes!"); in executeMatchTable() 737 TypeIdx = 1 - TypeIdx; in executeMatchTable() 739 if (State.RecordedTypes.size() <= (uint64_t)TypeIdx) in executeMatchTable() 740 State.RecordedTypes.resize(TypeIdx + 1, LLT()); in executeMatchTable() 741 State.RecordedTypes[TypeIdx] = MRI.getType(Op.getReg()); in executeMatchTable()
|
| H A D | LegalizationArtifactCombiner.h | 1079 if (ActionStep.TypeIdx == 1) in tryCombineUnmergeValues()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTCommon.h | 47 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 66 return TypeIdx(PREDEF_TYPE_AUTO_DEDUCT).asTypeID(FastQuals); in MakeTypeID() 68 return TypeIdx(PREDEF_TYPE_AUTO_RREF_DEDUCT).asTypeID(FastQuals); in MakeTypeID()
|
| H A D | ASTCommon.cpp | 25 serialization::TypeIdx 278 return TypeIdx(ID); in TypeIdxFromBuiltin()
|
| H A D | ASTWriter.cpp | 3141 TypeIdx &IdxRef = TypeIdxs[T]; in WriteType() 3143 IdxRef = TypeIdx(NextTypeID++); in WriteType() 3144 TypeIdx Idx = IdxRef; in WriteType() 5655 return MakeTypeID(*Context, T, [&](QualType T) -> TypeIdx { in GetOrCreateTypeID() 5657 return TypeIdx(); in GetOrCreateTypeID() 5660 TypeIdx &Idx = TypeIdxs[T]; in GetOrCreateTypeID() 5664 return TypeIdx(); in GetOrCreateTypeID() 5669 Idx = TypeIdx(NextTypeID++); in GetOrCreateTypeID() 5680 return TypeIdx(); in getTypeID() 6170 void ASTWriter::TypeRead(TypeIdx Idx, QualType T) { in TypeRead() [all …]
|
| H A D | ASTReader.cpp | 7408 DeserializationListener->TypeRead(TypeIdx::fromTypeID(ID), in GetType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCLegalizerInfo.cpp | 23 static LegalityPredicate isRegisterType(unsigned TypeIdx) { in isRegisterType() argument 25 const LLT QueryTy = Query.Types[TypeIdx]; in isRegisterType()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTBitCodes.h | 88 class TypeIdx { 92 TypeIdx() = default; 93 explicit TypeIdx(uint32_t index) : Idx(index) {} in TypeIdx() function 104 static TypeIdx fromTypeID(TypeID ID) { in fromTypeID() 106 return TypeIdx(-1); in fromTypeID() 108 return TypeIdx(ID >> Qualifiers::FastWidth); in fromTypeID()
|
| H A D | ASTDeserializationListener.h | 45 virtual void TypeRead(serialization::TypeIdx Idx, QualType T) { } in TypeRead()
|
| H A D | ASTWriter.h | 105 using TypeIdxMap = llvm::DenseMap<QualType, serialization::TypeIdx, 800 void TypeRead(serialization::TypeIdx Idx, QualType T) override;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVLegalizerInfo.cpp | 31 static LegalityPredicate typeIsScalarFPArith(unsigned TypeIdx, in typeIsScalarFPArith() argument 34 return Query.Types[TypeIdx].isScalar() && in typeIsScalarFPArith() 35 ((ST.hasStdExtF() && Query.Types[TypeIdx].getSizeInBits() == 32) || in typeIsScalarFPArith() 36 (ST.hasStdExtD() && Query.Types[TypeIdx].getSizeInBits() == 64)); in typeIsScalarFPArith()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULegalizerInfo.cpp | 74 const LLT Ty = Query.Types[TypeIdx]; in isSmallOddVector() 88 const LLT Ty = Query.Types[TypeIdx]; in sizeIsMultipleOf32() 95 const LLT Ty = Query.Types[TypeIdx]; in isWideVec16() 103 const LLT Ty = Query.Types[TypeIdx]; in oneMoreElement() 105 return std::pair(TypeIdx, in oneMoreElement() 112 const LLT Ty = Query.Types[TypeIdx]; in fewerEltsToSize64Vector() 126 const LLT Ty = Query.Types[TypeIdx]; in moreEltsToNext32Bit() 143 const LLT Ty = Query.Types[TypeIdx]; in moreElementsToNextExistingRegClass() 190 const LLT Ty = Query.Types[TypeIdx]; in bitcastToRegisterType() 197 const LLT Ty = Query.Types[TypeIdx]; in bitcastToVectorElement32() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | MultiplexConsumer.h | 37 void TypeRead(serialization::TypeIdx Idx, QualType T) override;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | MultiplexConsumer.cpp | 47 serialization::TypeIdx Idx, QualType T) { in TypeRead()
|
| H A D | FrontendAction.cpp | 79 void TypeRead(serialization::TypeIdx Idx, QualType T) override { in TypeRead()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineVerifier.cpp | 1057 size_t TypeIdx = MCID.operands()[I].getGenericTypeIndex(); in verifyPreISelGenericInstruction() local 1058 Types.resize(std::max(TypeIdx + 1, Types.size())); in verifyPreISelGenericInstruction() 1072 if (!Types[TypeIdx].isValid()) in verifyPreISelGenericInstruction() 1073 Types[TypeIdx] = OpTy; in verifyPreISelGenericInstruction() 1074 else if (Types[TypeIdx] != OpTy) in verifyPreISelGenericInstruction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 3519 for (unsigned TypeIdx = 0, NumTypes = NestedTypes.size(); TypeIdx != NumTypes; in MatchTemplateParametersToScopeSpecifier() local 3520 ++TypeIdx) { in MatchTemplateParametersToScopeSpecifier() 3521 T = NestedTypes[TypeIdx]; in MatchTemplateParametersToScopeSpecifier() 3562 TypeIdx == NumTypes - 1) in MatchTemplateParametersToScopeSpecifier() 3598 if (TypeIdx == NumTypes - 1) in MatchTemplateParametersToScopeSpecifier()
|