Home
last modified time | relevance | path

Searched refs:VarX (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1102 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits() local
1103 Type *Ty = VarX->getType(); in simplifyShrShlDemandedBits()
1132 return VarX; in simplifyShrShlDemandedBits()
1139 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
1140 New = BinaryOperator::CreateShl(VarX, Amt); in simplifyShrShlDemandedBits()
1145 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
1146 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
1147 BinaryOperator::CreateAShr(VarX, Amt); in simplifyShrShlDemandedBits()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1607 static PHINode *getRecurrenceVar(Value *VarX, Instruction *DefX, in getRecurrenceVar() argument
1609 auto *PhiX = dyn_cast<PHINode>(VarX); in getRecurrenceVar()
1778 Value *VarX = nullptr; in detectShiftUntilZeroIdiom() local
1800 VarX = DefX->getOperand(0); in detectShiftUntilZeroIdiom()
1803 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp6540 if (const auto *VarX = dyn_cast<VarDecl>(X)) { in isSameEntity() local
6542 if (VarX->getLinkageInternal() == VarY->getLinkageInternal()) { in isSameEntity()
6543 if (hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
6551 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()