Home
last modified time | relevance | path

Searched refs:BO1 (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2269 BinaryOperator *BO1 = dyn_cast<BinaryOperator>(Op1); in visitICmpInst() local
2270 if (BO0 || BO1) { in visitICmpInst()
2277 if (BO1 && isa<OverflowingBinaryOperator>(BO1)) in visitICmpInst()
2279 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in visitICmpInst()
2280 (CmpInst::isSigned(Pred) && BO1->hasNoSignedWrap()); in visitICmpInst()
2287 if (BO1 && BO1->getOpcode() == Instruction::Add) in visitICmpInst()
2288 C = BO1->getOperand(0), D = BO1->getOperand(1); in visitICmpInst()
2304 BO0->hasOneUse() && BO1->hasOneUse()) { in visitICmpInst()
2316 if (BO1 && BO1->getOpcode() == Instruction::Sub) in visitICmpInst()
2317 C = BO1->getOperand(0), D = BO1->getOperand(1); in visitICmpInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3040 BinaryOperator *BO1 = dyn_cast<BinaryOperator>(Op1); in foldICmpBinOp() local
3041 if (!BO0 && !BO1) in foldICmpBinOp()
3051 if (BO1 && isa<OverflowingBinaryOperator>(BO1)) in foldICmpBinOp()
3054 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in foldICmpBinOp()
3055 (CmpInst::isSigned(Pred) && BO1->hasNoSignedWrap()); in foldICmpBinOp()
3064 if (BO1 && BO1->getOpcode() == Instruction::Add) { in foldICmpBinOp()
3065 C = BO1->getOperand(0); in foldICmpBinOp()
3066 D = BO1->getOperand(1); in foldICmpBinOp()
3083 BO0->hasOneUse() && BO1->hasOneUse()) { in foldICmpBinOp()
3176 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) in foldICmpBinOp()
[all …]
DInstCombineVectorOps.cpp1160 Value *BO0 = BO->getOperand(0), *BO1 = BO->getOperand(1); in getAlternateBinop() local
1166 if (match(BO1, m_Constant(C))) { in getAlternateBinop()
1175 if (match(BO1, m_APInt(C)) && MaskedValueIsZero(BO0, *C, DL)) in getAlternateBinop()
1176 return { Instruction::Add, BO0, BO1 }; in getAlternateBinop()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3789 BinaryOperator *BO1 = dyn_cast<BinaryOperator>(Op1); in visitICmpInst() local
3790 if (BO0 || BO1) { in visitICmpInst()
3797 if (BO1 && isa<OverflowingBinaryOperator>(BO1)) in visitICmpInst()
3799 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in visitICmpInst()
3800 (CmpInst::isSigned(Pred) && BO1->hasNoSignedWrap()); in visitICmpInst()
3809 if (BO1 && BO1->getOpcode() == Instruction::Add) { in visitICmpInst()
3810 C = BO1->getOperand(0); in visitICmpInst()
3811 D = BO1->getOperand(1); in visitICmpInst()
3834 BO0->hasOneUse() && BO1->hasOneUse()) { in visitICmpInst()
3906 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) in visitICmpInst()
[all …]
/external/swiftshader/src/Device/
DETC_Decoder.cpp286 unsigned char BO1 : 1; member
566 int bo = extend_6to8bits(BO1 << 5 | BO2 << 3 | BO3a << 1 | BO3b); in decodePlanarBlock()
/external/swiftshader/src/Renderer/
DETC_Decoder.cpp286 unsigned char BO1 : 1; member
566 int bo = extend_6to8bits(BO1 << 5 | BO2 << 3 | BO3a << 1 | BO3b); in decodePlanarBlock()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2026 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2027 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2030 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2031 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp767 const deUint8 BO1 = (deUint8)getBit(src, 48); in decompressETC2Block() local
774 const deUint8 BO = extend6To8((deUint8)((BO1 << 5) | (BO2 << 3) | BO3)); in decompressETC2Block()
/external/clang/lib/Analysis/
DCFG.cpp772 BinaryOperatorKind BO1; in checkIncorrectLogicOperator() local
773 std::tie(Decl1, BO1, Expr1) = tryNormalizeBinaryOperator(LHS); in checkIncorrectLogicOperator()
830 Res1 = analyzeLogicOperatorCondition(BO1, Value, L1); in checkIncorrectLogicOperator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2284 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2285 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2288 if (ConstantInt *BO1 = dyn_cast<ConstantInt>(BO->getOperand(1))) in OptimizeMax() local
2289 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()