Home
last modified time | relevance | path

Searched refs:TLO (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp516 TargetLoweringOpt &TLO) const { in ShrinkDemandedConstant()
526 if (targetShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO)) in ShrinkDemandedConstant()
527 return TLO.New.getNode(); in ShrinkDemandedConstant()
547 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT); in ShrinkDemandedConstant()
548 SDValue NewOp = TLO.DAG.getNode(Opcode, DL, VT, Op.getOperand(0), NewC, in ShrinkDemandedConstant()
550 return TLO.CombineTo(Op, NewOp); in ShrinkDemandedConstant()
562 TargetLoweringOpt &TLO) const { in ShrinkDemandedConstant()
567 return ShrinkDemandedConstant(Op, DemandedBits, DemandedElts, TLO); in ShrinkDemandedConstant()
576 TargetLoweringOpt &TLO) const { in ShrinkDemandedOp()
583 SelectionDAG &DAG = TLO.DAG; in ShrinkDemandedOp()
[all …]
H A DDAGCombiner.cpp328 void CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO);
930 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) { in CommitTargetLoweringOpt() argument
931 return ((DAGCombiner*)DC)->CommitTargetLoweringOpt(TLO); in CommitTargetLoweringOpt()
1360 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) { in CommitTargetLoweringOpt() argument
1363 LLVM_DEBUG(dbgs() << "\nReplacing.2 "; TLO.Old.dump(&DAG); in CommitTargetLoweringOpt()
1364 dbgs() << "\nWith: "; TLO.New.dump(&DAG); dbgs() << '\n'); in CommitTargetLoweringOpt()
1367 DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New); in CommitTargetLoweringOpt()
1370 AddToWorklistWithUsers(TLO.New.getNode()); in CommitTargetLoweringOpt()
1373 recursivelyDeleteUnusedNodes(TLO.Old.getNode()); in CommitTargetLoweringOpt()
1381 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations); in SimplifyDemandedBits() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3967 TargetLoweringOpt &TLO) const;
3971 TargetLoweringOpt &TLO) const;
3979 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant() argument
3989 TargetLoweringOpt &TLO) const;
4006 TargetLoweringOpt &TLO, unsigned Depth = 0,
4012 KnownBits &Known, TargetLoweringOpt &TLO,
4064 TargetLoweringOpt &TLO, unsigned Depth = 0,
4076 const TargetLoweringOpt &TLO) const { in shouldSimplifyDemandedVectorElts() argument
4142 APInt &KnownZero, TargetLoweringOpt &TLO, unsigned Depth = 0) const;
4153 TargetLoweringOpt &TLO,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1509 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in PerformDAGCombine() local
1512 if (TLI.ShrinkDemandedConstant(OutVal, DemandedMask, TLO) || in PerformDAGCombine()
1513 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO)) in PerformDAGCombine()
1514 DCI.CommitTargetLoweringOpt(TLO); in PerformDAGCombine()
1525 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in PerformDAGCombine() local
1528 if (TLI.ShrinkDemandedConstant(Time, DemandedMask, TLO) || in PerformDAGCombine()
1529 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO)) in PerformDAGCombine()
1530 DCI.CommitTargetLoweringOpt(TLO); in PerformDAGCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp37017 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant()
37045 EVT ExtSVT = EVT::getIntegerVT(*TLO.DAG.getContext(), ActiveBits); in targetShrinkDemandedConstant()
37046 EVT ExtVT = EVT::getVectorVT(*TLO.DAG.getContext(), ExtSVT, in targetShrinkDemandedConstant()
37049 TLO.DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(Op), VT, in targetShrinkDemandedConstant()
37050 Op.getOperand(1), TLO.DAG.getValueType(ExtVT)); in targetShrinkDemandedConstant()
37052 TLO.DAG.getNode(Opcode, SDLoc(Op), VT, Op.getOperand(0), NewC); in targetShrinkDemandedConstant()
37053 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant()
37100 SDValue NewC = TLO.DAG.getConstant(ZeroExtendMask, DL, VT); in targetShrinkDemandedConstant()
37101 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC); in targetShrinkDemandedConstant()
37102 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant()
[all …]
H A DX86ISelLowering.h1205 TargetLoweringOpt &TLO) const override;
1225 TargetLoweringOpt &TLO,
1231 TargetLoweringOpt &TLO,
1238 TargetLoweringOpt &TLO,
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h116 const TargetLoweringOpt &TLO) const override;
H A DWebAssemblyISelLowering.cpp968 SDValue Op, const TargetLoweringOpt &TLO) const { in shouldSimplifyDemandedVectorElts()
986 if (Op.getOpcode() == ISD::BUILD_VECTOR && TLO.LegalOps && TLO.LegalTys) in shouldSimplifyDemandedVectorElts()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h444 TargetLoweringOpt &TLO,
519 TargetLoweringOpt &TLO) const override;
H A DARMISelLowering.cpp20197 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant()
20200 if (!TLO.LegalOps) in targetShrinkDemandedConstant()
20235 return TLO.CombineTo(Op, Op.getOperand(0)); in targetShrinkDemandedConstant()
20240 auto UseMask = [Mask, Op, VT, &TLO](unsigned NewMask) -> bool { in targetShrinkDemandedConstant()
20244 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT); in targetShrinkDemandedConstant()
20245 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC); in targetShrinkDemandedConstant()
20246 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant()
20279 const APInt &OriginalDemandedElts, KnownBits &Known, TargetLoweringOpt &TLO, in SimplifyDemandedBitsForTargetNode() argument
20294 return TLO.CombineTo( in SimplifyDemandedBitsForTargetNode()
20295 Op, TLO.DAG.getNode( in SimplifyDemandedBitsForTargetNode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h597 TargetLoweringOpt &TLO) const override;
1332 TargetLoweringOpt &TLO,
H A DAArch64ISelLowering.cpp2169 TargetLowering::TargetLoweringOpt &TLO, in optimizeLogicalImm() argument
2248 New = TLO.DAG.getNode(Op.getOpcode(), DL, VT, Op.getOperand(0), in optimizeLogicalImm()
2249 TLO.DAG.getConstant(NewImm, DL, VT)); in optimizeLogicalImm()
2254 SDValue EncConst = TLO.DAG.getTargetConstant(Enc, DL, VT); in optimizeLogicalImm()
2256 TLO.DAG.getMachineNode(NewOpc, DL, VT, Op.getOperand(0), EncConst), 0); in optimizeLogicalImm()
2259 return TLO.CombineTo(Op, New); in optimizeLogicalImm()
2264 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant()
2266 if (!TLO.LegalOps) in targetShrinkDemandedConstant()
2302 return optimizeLogicalImm(Op, Size, Imm, DemandedBits, TLO, NewOpc); in targetShrinkDemandedConstant()
22547 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in performTBISimplification() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h598 TargetLoweringOpt &TLO) const override;
H A DRISCVISelLowering.cpp17707 TargetLoweringOpt &TLO) const { in targetShrinkDemandedConstant()
17709 if (!TLO.LegalOps) in targetShrinkDemandedConstant()
17736 auto UseMask = [Mask, Op, &TLO](const APInt &NewMask) -> bool { in targetShrinkDemandedConstant()
17740 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, Op.getValueType()); in targetShrinkDemandedConstant()
17741 SDValue NewOp = TLO.DAG.getNode(Op.getOpcode(), DL, Op.getValueType(), in targetShrinkDemandedConstant()
17743 return TLO.CombineTo(Op, NewOp); in targetShrinkDemandedConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp5230 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), in PerformDAGCombine() local
5233 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || in PerformDAGCombine()
5234 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine()
5235 DCI.CommitTargetLoweringOpt(TLO); in PerformDAGCombine()
/freebsd/crypto/heimdal/lib/wind/
H A DUnicodeData.txt3732 13E0;CHEROKEE LETTER TLO;Lo;0;L;;;;;N;;;;;
4323 163B;CANADIAN SYLLABICS CARRIER TLO;Lo;0;L;;;;;N;;;;;