Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp64 bool LegalTypes; member in __anon3ce142f50111::DAGCombiner
282 OptLevel(OL), LegalOperations(false), LegalTypes(false), AA(A) {} in DAGCombiner()
292 return LegalTypes ? TLI.getShiftAmountTy(LHSTy) : TLI.getPointerTy(); in getShiftAmountTy()
298 if (!LegalTypes) return true; in isTypeLegal()
643 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits()
947 LegalTypes = Level >= NoIllegalTypes; in Run()
1127 DagCombineInfo(DAG, !LegalTypes, !LegalOperations, false, this); in combine()
2227 (!LegalTypes || TLI.isTypeDesirableForOp(N->getOpcode(), Op0VT))) || in SimplifyBinOpWithSameOpcodeHands()
3589 if (!LegalTypes || TLI.isTypeDesirableForOp(ISD::SRL, SmallVT)) { in visitSRL()
4892 if (!LegalTypes || TLI.isTypeDesirableForOp(N0.getOpcode(), VT)) { in visitTRUNCATE()
[all …]
DTargetLowering.cpp1729 if (TLO.LegalTypes() && in SimplifyDemandedBits()
1738 if (TLO.LegalTypes()) { in SimplifyDemandedBits()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp76 const std::vector<MVT::SimpleValueType> &LegalTypes = in FillWithPossibleTypes() local
79 for (unsigned i = 0, e = LegalTypes.size(); i != e; ++i) in FillWithPossibleTypes()
80 if (Pred == 0 || Pred(LegalTypes[i])) in FillWithPossibleTypes()
81 TypeVec.push_back(LegalTypes[i]); in FillWithPossibleTypes()
/external/llvm/include/llvm/Target/
DTargetLowering.h799 bool LegalTypes() const { return LegalTys; } in LegalTypes() function