Searched refs:CmpConst (Results 1 - 3 of 3) sorted by relevance
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 888 Constant *CmpConst = cast<Constant>(CmpRHS); local 897 CmpConst, P, BB, CxtI ? CxtI : Cmp); 916 if (isa<ConstantInt>(CmpConst) && 931 Pred, cast<ConstantInt>(CmpConst)->getValue()); 957 Constant *Folded = ConstantExpr::getCompare(Pred, V, CmpConst);
|
/openbsd-current/gnu/llvm/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 581 Constant *CmpConst = dyn_cast<Constant>(CI->getOperand(1)); local 634 CmpLHSConst, CmpConst, true);
|
H A D | ValueTracking.cpp | 6474 Constant *CmpConst; 6475 if (match(CmpI->getOperand(1), m_Constant(CmpConst)) && 6476 CmpConst->getType() == SrcTy) { 6479 // %cond = cmp iN %x, CmpConst 6485 // %cond = cmp iN %x, CmpConst 6486 // %widesel = select i1 %cond, iN %x, iN CmpConst 6496 // == CmpConst. That is why set widened C = CmpConst, condition trunc 6497 // CmpConst == C is checked below. 6498 CastedTo = CmpConst; [all...] |
Completed in 104 milliseconds