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.cpp1328 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits() local
1329 Type *Ty = VarX->getType(); in simplifyShrShlDemandedBits()
1358 return VarX; in simplifyShrShlDemandedBits()
1365 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
1366 New = BinaryOperator::CreateShl(VarX, Amt); in simplifyShrShlDemandedBits()
1371 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
1372 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
1373 BinaryOperator::CreateAShr(VarX, Amt); in simplifyShrShlDemandedBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1867 static PHINode *getRecurrenceVar(Value *VarX, Instruction *DefX, in getRecurrenceVar() argument
1869 auto *PhiX = dyn_cast<PHINode>(VarX); in getRecurrenceVar()
2139 Value *VarX = nullptr; in detectShiftUntilZeroIdiom() local
2161 VarX = DefX->getOperand(0); in detectShiftUntilZeroIdiom()
2164 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7610 if (const auto *VarX = dyn_cast<VarDecl>(X)) { in isSameEntity() local
7612 if (VarX->getLinkageInternal() == VarY->getLinkageInternal()) { in isSameEntity()
7615 if (VarX->getType().isNull() || VarY->getType().isNull()) in isSameEntity()
7618 if (hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
7626 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()