Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp556 Value *VarX; ConstantInt *C1; in SimplifyDemandedUseBits() local
557 if (match(I->getOperand(0), m_Shr(m_Value(VarX), m_ConstantInt(C1)))) { in SimplifyDemandedUseBits()
842 Value *VarX = Shr->getOperand(0); in SimplifyShrShlDemandedBits() local
843 Type *Ty = VarX->getType(); in SimplifyShrShlDemandedBits()
872 return VarX; in SimplifyShrShlDemandedBits()
879 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in SimplifyShrShlDemandedBits()
880 New = BinaryOperator::CreateShl(VarX, Amt); in SimplifyShrShlDemandedBits()
885 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in SimplifyShrShlDemandedBits()
886 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in SimplifyShrShlDemandedBits()
887 BinaryOperator::CreateAShr(VarX, Amt); in SimplifyShrShlDemandedBits()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2692 if (VarDecl *VarX = dyn_cast<VarDecl>(X)) { in isSameEntity() local
2694 if (VarX->getLinkageInternal() == VarY->getLinkageInternal()) { in isSameEntity()
2695 ASTContext &C = VarX->getASTContext(); in isSameEntity()
2696 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
2704 const ArrayType *VarXTy = C.getAsArrayType(VarX->getType()); in isSameEntity()