Home
last modified time | relevance | path

Searched defs:CRHS (Results 1 – 24 of 24) sorted by relevance

/aosp_15_r20/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp97 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
532 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyAddInst() local
666 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifySubInst() local
790 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyFAddInst() local
829 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyFSubInst() local
865 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyFMulInst() local
888 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyMulInst() local
1566 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyAndInst() local
1740 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyOrInst() local
1873 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyXorInst() local
[all …]
H A DInlineCost.cpp675 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in visitCmpInst() local
697 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst() local
743 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub() local
H A DLoopUnrollAnalyzer.cpp189 if (Constant *CRHS = dyn_cast<Constant>(RHS)) { in visitCmpInst() local
H A DScalarEvolutionExpander.cpp175 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in InsertBinop() local
502 if (Constant *CRHS = dyn_cast<Constant>(Idx)) in expandAddToGEP() local
H A DValueTracking.cpp2079 if (const auto *CRHS = dyn_cast<Constant>(U->getOperand(1))) in ComputeNumSignBits() local
4008 const APInt *CLHS, *CRHS; in isTruePredicate() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp193 if (Constant *CRHS = dyn_cast<Constant>(RHS)) { in visitCmpInst() local
H A DInlineCost.cpp1279 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst() local
1313 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub() local
1332 Constant *CRHS = dyn_cast<Constant>(RHS); in visitBinaryOperator() local
H A DInstructionSimplify.cpp133 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
605 if (auto *CRHS = dyn_cast<Constant>(Op1)) in foldOrCommuteConstant() local
3229 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in SimplifyICmpInst() local
3462 if (auto *CRHS = dyn_cast<PtrToIntOperator>(RHS)) in SimplifyICmpInst() local
3524 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in SimplifyFCmpInst() local
H A DScalarEvolutionExpander.cpp174 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in InsertBinop() local
519 if (Constant *CRHS = dyn_cast<Constant>(Idx)) in expandAddToGEP() local
H A DValueTracking.cpp2612 if (const auto *CRHS = dyn_cast<Constant>(U->getOperand(1))) in ComputeNumSignBitsImpl() local
5360 const APInt *CLHS, *CRHS; in isTruePredicate() local
/aosp_15_r20/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1146 if (Constant *CRHS = dyn_cast<Constant>(RHS)) { in visitAdd() local
1152 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(RHS)) { in visitAdd() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
H A DInlineCost.cpp1970 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitCmpInst() local
2004 Constant *CRHS = ConstantInt::get(RHS->getContext(), RHSOffset); in visitSub() local
2023 Constant *CRHS = dyn_cast<Constant>(RHS); in visitBinaryOperator() local
H A DInstructionSimplify.cpp135 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); in isSameCompare() local
607 if (auto *CRHS = dyn_cast<Constant>(Op1)) { in foldOrCommuteConstant() local
3661 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in simplifyICmpInst() local
3922 if (auto *CRHS = dyn_cast<PtrToIntOperator>(RHS)) in simplifyICmpInst() local
3960 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in simplifyFCmpInst() local
H A DValueTracking.cpp3235 if (const auto *CRHS = dyn_cast<Constant>(U->getOperand(1))) in ComputeNumSignBitsImpl() local
6790 const APInt *CLHS, *CRHS; in isTruePredicate() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp223 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in InsertBinop() local
578 if (Constant *CRHS = dyn_cast<Constant>(Idx)) in expandAddToGEP() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp8267 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS); in performAndCombine() local
8458 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS.getOperand(1)); in performOrCombine() local
8558 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(N->getOperand(1)); in performOrCombine() local
8577 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS); in performXorCombine() local
9003 auto *CRHS = dyn_cast<ConstantFPSDNode>(N0.getOperand(1)); in performFCanonicalizeCombine() local
9829 auto CRHS = dyn_cast<ConstantSDNode>(RHS); in performSetCCCombine() local
9892 const ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); in performSetCCCombine() local
H A DAMDGPUISelLowering.cpp3535 ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); in foldFreeOpFromSelect() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp9661 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS); in performAndCombine() local
9853 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS.getOperand(1)); in performOrCombine() local
9953 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(N->getOperand(1)); in performOrCombine() local
9976 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS); in performXorCombine() local
10457 auto *CRHS = dyn_cast<ConstantFPSDNode>(N0.getOperand(1)); in performFCanonicalizeCombine() local
11431 auto CRHS = dyn_cast<ConstantSDNode>(RHS); in performSetCCCombine() local
11494 const ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); in performSetCCCombine() local
H A DAMDGPUISelLowering.cpp3697 ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); in foldFreeOpFromSelect() local
/aosp_15_r20/external/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp2618 const ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(RHS.getOperand(1)); in performOrCombine() local
2843 const ConstantFPSDNode *CRHS = dyn_cast<ConstantFPSDNode>(RHS); in performSetCCCombine() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1320 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(RHS)) { in visitAdd() local
/aosp_15_r20/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2659 if (ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(Op.getOperand(1))) in ComputeNumSignBits() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3780 if (ConstantSDNode *CRHS = dyn_cast<ConstantSDNode>(Op.getOperand(1))) in ComputeNumSignBits() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4285 if (ConstantSDNode *CRHS = in ComputeNumSignBits() local