Home
last modified time | relevance | path

Searched refs:LegalTypes (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp822 static std::unordered_map<uint64_t, RVVType> LegalTypes; in computeType() local
826 auto It = LegalTypes.find(Idx); in computeType()
827 if (It != LegalTypes.end()) in computeType()
837 LegalTypes.insert({Idx, T}); in computeType()
838 return &(LegalTypes[Idx]); in computeType()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp148 bool LegalTypes = false; member in __anon54f00e400111::DAGCombiner
787 if (!LegalTypes) return true; in isTypeLegal()
1574 LegalTypes = Level >= AfterLegalizeTypes; in Run()
6403 if (LegalTypes) { in visitAND()
8705 if (!LegalTypes) in visitShiftByConstant()
13625 (!LegalTypes || in visitBITCAST()
16133 if (LegalTypes) in rebuildSetCC()
20033 (!LegalTypes || in visitEXTRACT_VECTOR_ELT()
20766 if (LegalTypes && !TLI.isTypeLegal(InVT)) in convertBuildVecZextToZext()
20816 if (!LegalTypes && (N->getNumOperands() > 1)) { in visitBUILD_VECTOR()
[all …]
H A DSelectionDAG.cpp1578 const SDLoc &DL, bool LegalTypes) { in getShiftAmountConstant() argument
1580 EVT ShiftVT = TLI->getShiftAmountTy(VT, getDataLayout(), LegalTypes); in getShiftAmountConstant()
2795 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) { in getSplatValue() argument
2800 if (LegalTypes && !TLI->isTypeLegal(SVT)) { in getSplatValue()
H A DTargetLowering.cpp2379 if (TLO.LegalTypes() && !isTypeDesirableForOp(ISD::SRL, VT)) in SimplifyDemandedBits()
2399 ShVal, dl, getShiftAmountTy(VT, DL, TLO.LegalTypes())); in SimplifyDemandedBits()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp818 const TypeSetByHwMode::SetType &LegalTypes = Legal.get(DefaultMode); in expandOverloads() local
821 expandOverloads(I.second, LegalTypes); in expandOverloads()
881 TypeSetByHwMode::SetType &LegalTypes = LegalCache.getOrCreate(DefaultMode); in getLegalTypes() local
885 LegalTypes.insert(I.second); in getLegalTypes()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp909 bool LegalTypes) const { in getShiftAmountTy()
914 LegalTypes ? getScalarShiftAmountTy(DL, LHSTy) : getPointerTy(DL); in getShiftAmountTy()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h648 bool LegalTypes = true);
2037 SDValue getSplatValue(SDValue V, bool LegalTypes = false);
H A DTargetLowering.h396 bool LegalTypes = true) const;
3550 bool LegalTypes() const { return LegalTys; } in LegalTypes() function