Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1166 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits() local
1167 Type *Ty = VarX->getType(); in simplifyShrShlDemandedBits()
1196 return VarX; in simplifyShrShlDemandedBits()
1203 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
1204 New = BinaryOperator::CreateShl(VarX, Amt); in simplifyShrShlDemandedBits()
1209 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
1210 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
1211 BinaryOperator::CreateAShr(VarX, Amt); in simplifyShrShlDemandedBits()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1609 static PHINode *getRecurrenceVar(Value *VarX, Instruction *DefX, in getRecurrenceVar() argument
1611 auto *PhiX = dyn_cast<PHINode>(VarX); in getRecurrenceVar()
1780 Value *VarX = nullptr; in detectShiftUntilZeroIdiom() local
1802 VarX = DefX->getOperand(0); in detectShiftUntilZeroIdiom()
1805 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp6620 if (const auto *VarX = dyn_cast<VarDecl>(X)) { in isSameEntity() local
6622 if (VarX->getLinkageInternal() == VarY->getLinkageInternal()) { in isSameEntity()
6623 if (hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
6631 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()