Home
last modified time | relevance | path

Searched refs:VarX (Results 1 – 4 of 4) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp867 Value *VarX = Shr->getOperand(0); in simplifyShrShlDemandedBits() local
868 Type *Ty = VarX->getType(); in simplifyShrShlDemandedBits()
897 return VarX; in simplifyShrShlDemandedBits()
904 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt); in simplifyShrShlDemandedBits()
905 New = BinaryOperator::CreateShl(VarX, Amt); in simplifyShrShlDemandedBits()
910 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
911 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
912 BinaryOperator::CreateAShr(VarX, Amt); in simplifyShrShlDemandedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp1133 static PHINode *getRecurrenceVar(Value *VarX, Instruction *DefX, in getRecurrenceVar() argument
1135 auto *PhiX = dyn_cast<PHINode>(VarX); in getRecurrenceVar()
1305 Value *VarX = nullptr; in detectCTLZIdiom() local
1327 VarX = DefX->getOperand(0); in detectCTLZIdiom()
1330 PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectCTLZIdiom()
/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()