Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp63 bool LegalTypes; member in __anon16627d380111::DAGCombiner
306 OptLevel(OL), LegalOperations(false), LegalTypes(false), AA(A) {} in DAGCombiner()
316 return LegalTypes ? TLI.getShiftAmountTy(LHSTy) : TLI.getPointerTy(); in getShiftAmountTy()
322 if (!LegalTypes) return true; in isTypeLegal()
679 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
982 LegalTypes = Level >= AfterLegalizeTypes; in Run()
1177 DagCombineInfo(DAG, !LegalTypes, !LegalOperations, false, this); in combine()
2311 (!LegalTypes || TLI.isTypeDesirableForOp(N->getOpcode(), Op0VT))) || in SimplifyBinOpWithSameOpcodeHands()
3863 if (!LegalTypes || TLI.isTypeDesirableForOp(ISD::SRL, SmallVT)) { in visitSRL()
5268 LegalTypes && !LegalOperations && N0->hasOneUse()) { in visitTRUNCATE()
[all …]
DTargetLowering.cpp1582 if (TLO.LegalTypes() && !ShiftAmtTy.isVector()) in SimplifyDemandedBits()
1729 if (TLO.LegalTypes() && in SimplifyDemandedBits()
1738 if (TLO.LegalTypes()) { in SimplifyDemandedBits()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp79 const std::vector<MVT::SimpleValueType> &LegalTypes = in FillWithPossibleTypes() local
82 for (unsigned i = 0, e = LegalTypes.size(); i != e; ++i) in FillWithPossibleTypes()
83 if (Pred == 0 || Pred(LegalTypes[i])) in FillWithPossibleTypes()
84 TypeVec.push_back(LegalTypes[i]); in FillWithPossibleTypes()
/external/llvm/include/llvm/Target/
DTargetLowering.h863 bool LegalTypes() const { return LegalTys; } in LegalTypes() function