Home
last modified time | relevance | path

Searched refs:LHSInst (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp342 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0))) in SimplifyDemandedUseBits() local
343 if (LHSInst->getOpcode() == Instruction::And && LHSInst->hasOneUse() && in SimplifyDemandedUseBits()
345 isa<ConstantInt>(LHSInst->getOperand(1)) && in SimplifyDemandedUseBits()
347 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1)); in SimplifyDemandedUseBits()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp382 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0))) in SimplifyDemandedUseBits() local
383 if (LHSInst->getOpcode() == Instruction::And && LHSInst->hasOneUse() && in SimplifyDemandedUseBits()
385 isa<ConstantInt>(LHSInst->getOperand(1)) && in SimplifyDemandedUseBits()
387 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1)); in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp291 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0))) in SimplifyDemandedUseBits() local
292 if (LHSInst->getOpcode() == Instruction::And && LHSInst->hasOneUse() && in SimplifyDemandedUseBits()
294 isa<ConstantInt>(LHSInst->getOperand(1)) && in SimplifyDemandedUseBits()
296 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1)); in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp782 auto LHSInst = dyn_cast<Instruction>(LHS); in ComputeValueKnownInPredecessors() local
783 if (LHSInst && LHSInst->getParent() == BB) in ComputeValueKnownInPredecessors()