Searched refs:CLHS (Results 1 - 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp192 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
194 if (CLHS->getType() == CRHS->getType()) {
195 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) {
H A DInlineCost.cpp1278 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
1280 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) {
1312 Constant *CLHS = ConstantInt::get(LHS->getContext(), LHSOffset); local
1314 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) {
1329 Constant *CLHS = dyn_cast<Constant>(LHS); local
1330 if (!CLHS)
1331 CLHS = SimplifiedValues.lookup(LHS);
1338 SimpleV = SimplifyBinOp(I.getOpcode(), CLHS ? CLHS : LHS, CRHS ? CRHS : RHS,
1342 SimplifyBinOp(I.getOpcode(), CLHS
[all...]
H A DInstructionSimplify.cpp133 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); local
134 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
136 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
604 if (auto *CLHS = dyn_cast<Constant>(Op0)) {
606 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL);
3228 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3230 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
3461 if (auto *CLHS = dyn_cast<PtrToIntOperator>(LHS))
3463 if (Q.DL.getTypeSizeInBits(CLHS->getPointerOperandType()) ==
3464 Q.DL.getTypeSizeInBits(CLHS
[all...]
H A DScalarEvolutionExpander.cpp173 if (Constant *CLHS = dyn_cast<Constant>(LHS))
175 return ConstantExpr::get(Opcode, CLHS, CRHS);
518 if (Constant *CLHS = dyn_cast<Constant>(V))
521 CLHS, CRHS);
H A DValueTracking.cpp2637 if (const auto *CLHS = dyn_cast<Constant>(U->getOperand(0)))
2638 if (CLHS->isNullValue()) {
5360 const APInt *CLHS, *CRHS; local
5361 if (MatchNUWAddsToSameValue(LHS, RHS, X, CLHS, CRHS))
5362 return CLHS->ule(*CRHS);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp1960 if (auto CLHS = getConstantFPVRegVal(LHS, MRI)) {
1962 if (CLHS->isExactlyValue(1.0)) {
1972 if (CLHS->isExactlyValue(-1.0)) {
H A DSIISelLowering.cpp7555 if (const ConstantFPSDNode *CLHS = dyn_cast<ConstantFPSDNode>(LHS)) {
7557 if (CLHS->isExactlyValue(1.0)) {
7577 if (CLHS->isExactlyValue(-1.0)) {
8457 const ConstantSDNode *CLHS = dyn_cast<ConstantSDNode>(LHS.getOperand(1)); local
8459 if (!CLHS || !CRHS)
8465 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3801 if (ConstantSDNode *CLHS = isConstOrConstSplat(Op.getOperand(0)))
3802 if (CLHS->isNullValue()) {

Completed in 227 milliseconds