/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 495 TargetLoweringOpt &TLO) const { 500 if (targetShrinkDemandedConstant(Op, Demanded, TLO)) 501 return TLO.New.getNode(); 521 SDValue NewC = TLO.DAG.getConstant(Demanded & C, DL, VT); 522 SDValue NewOp = TLO.DAG.getNode(Opcode, DL, VT, Op.getOperand(0), NewC); 523 return TLO.CombineTo(Op, NewOp); 538 TargetLoweringOpt &TLO) const { 544 SelectionDAG &DAG = TLO.DAG; 574 return TLO.CombineTo(Op, Z); 583 TargetLoweringOpt TLO(DA 595 SimplifyDemandedBits(SDValue Op, const APInt &DemandedBits, KnownBits &Known, TargetLoweringOpt &TLO, unsigned Depth, bool AssumeSingleUse) const argument 800 SimplifyDemandedBits( SDValue Op, const APInt &OriginalDemandedBits, const APInt &OriginalDemandedElts, KnownBits &Known, TargetLoweringOpt &TLO, unsigned Depth, bool AssumeSingleUse) const argument 2149 SimplifyDemandedVectorElts( SDValue Op, const APInt &OriginalDemandedElts, APInt &KnownUndef, APInt &KnownZero, TargetLoweringOpt &TLO, unsigned Depth, bool AssumeSingleUse) const argument 2692 SimplifyDemandedVectorEltsForTargetNode( SDValue Op, const APInt &DemandedElts, APInt &KnownUndef, APInt &KnownZero, TargetLoweringOpt &TLO, unsigned Depth) const argument 2704 SimplifyDemandedBitsForTargetNode( SDValue Op, const APInt &DemandedBits, const APInt &DemandedElts, KnownBits &Known, TargetLoweringOpt &TLO, unsigned Depth) const argument [all...] |
H A D | DAGCombiner.cpp | 295 void CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO); 779 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) { argument 780 return ((DAGCombiner*)DC)->CommitTargetLoweringOpt(TLO); 1038 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) { argument 1042 DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New); 1045 AddToWorklistWithUsers(TLO.New.getNode()); 1050 if (TLO.Old.getNode()->use_empty()) 1051 deleteAndRecombine(TLO.Old.getNode()); 1058 TargetLowering::TargetLoweringOpt TLO(DA [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 3106 TargetLoweringOpt &TLO) const; 3112 TargetLoweringOpt &TLO) const { 3120 TargetLoweringOpt &TLO) const; 3132 /// results of this function, because simply replacing replacing TLO.Old 3133 /// with TLO.New will be incorrect when this parameter is true and TLO.Old 3137 TargetLoweringOpt &TLO, unsigned Depth = 0, 3143 KnownBits &Known, TargetLoweringOpt &TLO, 3163 /// return true, storing the original and new nodes in TLO. 3171 /// results of this function, because simply replacing replacing TLO [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 1607 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), 1610 if (TLI.ShrinkDemandedConstant(OutVal, DemandedMask, TLO) || 1611 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO)) 1612 DCI.CommitTargetLoweringOpt(TLO); 1623 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), 1626 if (TLI.ShrinkDemandedConstant(Time, DemandedMask, TLO) || 1627 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO)) 1628 DCI.CommitTargetLoweringOpt(TLO);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 938 TargetLoweringOpt &TLO) const override; 958 TargetLoweringOpt &TLO, 965 TargetLoweringOpt &TLO,
|
H A D | X86ISelLowering.cpp | [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 329 TargetLoweringOpt &TLO) const override;
|
H A D | AArch64ISelLowering.cpp | 966 TargetLowering::TargetLoweringOpt &TLO, 1045 New = TLO.DAG.getNode(Op.getOpcode(), DL, VT, Op.getOperand(0), 1046 TLO.DAG.getConstant(NewImm, DL, VT)); 1051 SDValue EncConst = TLO.DAG.getTargetConstant(Enc, DL, VT); 1053 TLO.DAG.getMachineNode(NewOpc, DL, VT, Op.getOperand(0), EncConst), 0); 1056 return TLO.CombineTo(Op, New); 1060 SDValue Op, const APInt &Demanded, TargetLoweringOpt &TLO) const { 1062 if (!TLO.LegalOps) 1098 return optimizeLogicalImm(Op, Size, Imm, Demanded, TLO, NewOpc); 11597 TargetLowering::TargetLoweringOpt TLO(DA 964 optimizeLogicalImm(SDValue Op, unsigned Size, uint64_t Imm, const APInt &Demanded, TargetLowering::TargetLoweringOpt &TLO, unsigned NewOpc) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 418 TargetLoweringOpt &TLO) const override;
|
H A D | ARMISelLowering.cpp | 15749 TargetLoweringOpt &TLO) const { 15752 if (!TLO.LegalOps) 15787 return TLO.CombineTo(Op, Op.getOperand(0)); 15792 auto UseMask = [Mask, Op, VT, &TLO](unsigned NewMask) -> bool { 15796 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT); 15797 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC); 15798 return TLO.CombineTo(Op, NewOp);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 4087 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), 4090 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || 4091 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { 4092 DCI.CommitTargetLoweringOpt(TLO);
|
H A D | SIISelLowering.cpp | 9948 TargetLowering::TargetLoweringOpt TLO(DAG, !DCI.isBeforeLegalize(), 9951 if (TLI.SimplifyDemandedBits(Src, Demanded, Known, TLO)) { 9952 DCI.CommitTargetLoweringOpt(TLO);
|