Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1324 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits() local
1325 Type *Ty = VarX->getType(); in simplifyShrShlDemandedBits()
1354 return VarX; in simplifyShrShlDemandedBits()
1361 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
1362 New = BinaryOperator::CreateShl(VarX, Amt); in simplifyShrShlDemandedBits()
1367 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
1368 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
1369 BinaryOperator::CreateAShr(VarX, Amt); in simplifyShrShlDemandedBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1558 static PHINode *getRecurrenceVar(Value *VarX, Instruction *DefX, in getRecurrenceVar() argument
1560 auto *PhiX = dyn_cast<PHINode>(VarX); in getRecurrenceVar()
1830 Value *VarX = nullptr; in detectShiftUntilZeroIdiom() local
1852 VarX = DefX->getOperand(0); in detectShiftUntilZeroIdiom()
1855 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7068 if (const auto *VarX = dyn_cast<VarDecl>(X)) { in isSameEntity() local
7070 if (VarX->getLinkageInternal() == VarY->getLinkageInternal()) { in isSameEntity()
7073 if (VarX->getType().isNull() || VarY->getType().isNull()) in isSameEntity()
7076 if (hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
7084 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()