| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 539 TargetLoweringOpt &TLO) const { in ShrinkDemandedConstant() 549 if (targetShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in ShrinkDemandedConstant() 550 return TLO.New.getNode(); in ShrinkDemandedConstant() 570 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT); in ShrinkDemandedConstant() 571 SDValue NewOp = TLO.DAG.getNode(Opcode, DL, VT, Op.getOperand(0), NewC, in ShrinkDemandedConstant() 573 return TLO.CombineTo(Op, NewOp); in ShrinkDemandedConstant() 585 TargetLoweringOpt &TLO) const { in ShrinkDemandedConstant() 590 return ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO); in ShrinkDemandedConstant() 599 TargetLoweringOpt &TLO) const { in ShrinkDemandedOp() 606 SelectionDAG &DAG = TLO.DAG; in ShrinkDemandedOp() [all …]
|
| H A D | DAGCombiner.cpp | 333 void CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO); 950 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) { in CommitTargetLoweringOpt() argument 951 return ((DAGCombiner*)DC)->CommitTargetLoweringOpt(TLO); in CommitTargetLoweringOpt() 1417 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) { in CommitTargetLoweringOpt() argument 1420 LLVM_DEBUG(dbgs() << "\nReplacing.2 "; TLO.Old.dump(&DAG); in CommitTargetLoweringOpt() 1421 dbgs() << "\nWith: "; TLO.New.dump(&DAG); dbgs() << '\n'); in CommitTargetLoweringOpt() 1424 DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New); in CommitTargetLoweringOpt() 1427 AddToWorklistWithUsers(TLO.New.getNode()); in CommitTargetLoweringOpt() 1430 recursivelyDeleteUnusedNodes(TLO.Old.getNode()); in CommitTargetLoweringOpt() 1438 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 38403 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() 38431 EVT ExtSVT = EVT::getIntegerVT(*TLO.DAG.getContext(), ActiveBits); in targetShrinkDemandedConstant() 38432 EVT ExtVT = EVT::getVectorVT(*TLO.DAG.getContext(), ExtSVT, in targetShrinkDemandedConstant() 38435 TLO.DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(Op), VT, in targetShrinkDemandedConstant() 38436 Op.getOperand(1), TLO.DAG.getValueType(ExtVT)); in targetShrinkDemandedConstant() 38438 TLO.DAG.getNode(Opcode, SDLoc(Op), VT, Op.getOperand(0), NewC); in targetShrinkDemandedConstant() 38439 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant() 38486 SDValue NewC = TLO.DAG.getConstant(ZeroExtendMask, DL, VT); in targetShrinkDemandedConstant() 38487 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC); in targetShrinkDemandedConstant() 38488 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant() [all …]
|
| H A D | X86ISelLowering.h | 1291 TargetLoweringOpt &TLO) const override; 1311 TargetLoweringOpt &TLO, 1317 TargetLoweringOpt &TLO, 1324 TargetLoweringOpt &TLO,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.cpp | 1480 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in PerformDAGCombine() local 1483 if (TLI.ShrinkDemandedConstant(OutVal, DemandedMask, TLO) || in PerformDAGCombine() 1484 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO)) in PerformDAGCombine() 1485 DCI.CommitTargetLoweringOpt(TLO); in PerformDAGCombine() 1496 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in PerformDAGCombine() local 1499 if (TLI.ShrinkDemandedConstant(Time, DemandedMask, TLO) || in PerformDAGCombine() 1500 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO)) in PerformDAGCombine() 1501 DCI.CommitTargetLoweringOpt(TLO); in PerformDAGCombine()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 4123 TargetLoweringOpt &TLO) const; 4127 TargetLoweringOpt &TLO) const; 4135 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() argument 4145 TargetLoweringOpt &TLO) const; 4162 TargetLoweringOpt &TLO, unsigned Depth = 0, 4168 KnownBits &Known, TargetLoweringOpt &TLO, 4220 TargetLoweringOpt &TLO, unsigned Depth = 0, 4232 const TargetLoweringOpt &TLO) const { in shouldSimplifyDemandedVectorElts() argument 4303 APInt &KnownZero, TargetLoweringOpt &TLO, unsigned Depth = 0) const; 4314 TargetLoweringOpt &TLO, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.h | 109 const TargetLoweringOpt &TLO) const override;
|
| H A D | WebAssemblyISelLowering.cpp | 1141 SDValue Op, const TargetLoweringOpt &TLO) const { in shouldSimplifyDemandedVectorElts() 1159 if (Op.getOpcode() == ISD::BUILD_VECTOR && TLO.LegalOps && TLO.LegalTys) in shouldSimplifyDemandedVectorElts()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 145 TargetLoweringOpt &TLO) const override; 160 TargetLoweringOpt &TLO,
|
| H A D | RISCVISelLowering.cpp | 8411 TargetLoweringObjectFile *TLO = getTargetMachine().getObjFileLowering(); in lowerINIT_TRAMPOLINE() local 8412 assert(TLO); in lowerINIT_TRAMPOLINE() 8413 MCContext &MCCtx = TLO->getContext(); in lowerINIT_TRAMPOLINE() 20829 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() 20831 if (!TLO.LegalOps) in targetShrinkDemandedConstant() 20858 auto UseMask = [Mask, Op, &TLO](const APInt &NewMask) -> bool { in targetShrinkDemandedConstant() 20862 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, Op.getValueType()); in targetShrinkDemandedConstant() 20863 SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), DL, Op.getValueType(), in targetShrinkDemandedConstant() 20865 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant() 21167 const APInt &OriginalDemandedElts, KnownBits &Known, TargetLoweringOpt &TLO, in SimplifyDemandedBitsForTargetNode() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 462 TargetLoweringOpt &TLO, 535 TargetLoweringOpt &TLO) const override;
|
| H A D | ARMISelLowering.cpp | 20131 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() 20134 if (!TLO.LegalOps) in targetShrinkDemandedConstant() 20169 return TLO.CombineTo(Op, Op.getOperand(0)); in targetShrinkDemandedConstant() 20174 auto UseMask = [Mask, Op, VT, &TLO](unsigned NewMask) -> bool { in targetShrinkDemandedConstant() 20178 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT); in targetShrinkDemandedConstant() 20179 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC); in targetShrinkDemandedConstant() 20180 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant() 20213 const APInt &OriginalDemandedElts, KnownBits &Known, TargetLoweringOpt &TLO, in SimplifyDemandedBitsForTargetNode() argument 20228 return TLO.CombineTo( in SimplifyDemandedBitsForTargetNode() 20229 Op, TLO.DAG.getNode( in SimplifyDemandedBitsForTargetNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.h | 324 TargetLoweringOpt &TLO,
|
| H A D | LoongArchISelLowering.cpp | 8541 const APInt &OriginalDemandedElts, KnownBits &Known, TargetLoweringOpt &TLO, in SimplifyDemandedBitsForTargetNode() argument 8558 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, SDLoc(Op), VT)); in SimplifyDemandedBitsForTargetNode() 8564 TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 8573 if (SimplifyDemandedBits(Src, DemandedSrcBits, DemandedElts, KnownSrc, TLO, in SimplifyDemandedBitsForTargetNode() 8584 Src, DemandedSrcBits, DemandedElts, TLO.DAG, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 8585 return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewSrc)); in SimplifyDemandedBitsForTargetNode() 8591 Op, OriginalDemandedBits, OriginalDemandedElts, Known, TLO, Depth); in SimplifyDemandedBitsForTargetNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 113 TargetLoweringOpt &TLO) const override; 850 TargetLoweringOpt &TLO,
|
| H A D | AArch64ISelLowering.cpp | 2406 TargetLowering::TargetLoweringOpt &TLO, in optimizeLogicalImm() argument 2485 New = TLO.DAG.getNode(Op.getOpcode(), DL, VT, Op.getOperand(0), in optimizeLogicalImm() 2486 TLO.DAG.getConstant(NewImm, DL, VT)); in optimizeLogicalImm() 2491 SDValue EncConst = TLO.DAG.getTargetConstant(Enc, DL, VT); in optimizeLogicalImm() 2493 TLO.DAG.getMachineNode(NewOpc, DL, VT, Op.getOperand(0), EncConst), 0); in optimizeLogicalImm() 2496 return TLO.CombineTo(Op, New); in optimizeLogicalImm() 2501 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() 2503 if (!TLO.LegalOps) in targetShrinkDemandedConstant() 2540 return optimizeLogicalImm(Op, Size, Imm, DemandedBits, TLO, NewOpc); in targetShrinkDemandedConstant() 23582 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in performTBISimplification() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 5463 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in PerformDAGCombine() local 5466 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || in PerformDAGCombine() 5467 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine() 5468 DCI.CommitTargetLoweringOpt(TLO); in PerformDAGCombine()
|
| /freebsd/crypto/krb5/src/lib/krb5/unicode/ |
| H A D | UnicodeData.txt | 3647 13E0;CHEROKEE LETTER TLO;Lo;0;L;;;;;N;;;;; 4238 163B;CANADIAN SYLLABICS CARRIER TLO;Lo;0;L;;;;;N;;;;;
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | UnicodeData.txt | 3732 13E0;CHEROKEE LETTER TLO;Lo;0;L;;;;;N;;;;; 4323 163B;CANADIAN SYLLABICS CARRIER TLO;Lo;0;L;;;;;N;;;;;
|