Searched refs:Op0RHS (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 983 Value *Op0LHS = LHS->getOperand(0), *Op0RHS = LHS->getOperand(1); in FoldAndOfFCmps() local 988 if (Op0LHS == Op1RHS && Op0RHS == Op1LHS) { in FoldAndOfFCmps() 994 if (Op0LHS == Op1LHS && Op0RHS == Op1RHS) { in FoldAndOfFCmps() 997 return Builder->CreateFCmp((FCmpInst::Predicate)Op0CC, Op0LHS, Op0RHS); in FoldAndOfFCmps() 1025 return getFCmpValue(true, Op1Pred, Op0LHS, Op0RHS, Builder); in FoldAndOfFCmps() 1055 Value *Op0RHS = Op0I->getOperand(1); in visitAnd() local 1066 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd() 1067 Op0RHS->getName()+".masked"); in visitAnd() 1070 if (!isa<Constant>(Op0RHS) && in visitAnd() 1071 MaskedValueIsZero(Op0RHS, NotAndRHS)) { in visitAnd() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1099 Value *Op0LHS = LHS->getOperand(0), *Op0RHS = LHS->getOperand(1); in FoldAndOfFCmps() local 1103 if (Op0LHS == Op1RHS && Op0RHS == Op1LHS) { in FoldAndOfFCmps() 1118 if (Op0LHS == Op1LHS && Op0RHS == Op1RHS) in FoldAndOfFCmps() 1119 return getFCmpValue(getFCmpCode(Op0CC) & getFCmpCode(Op1CC), Op0LHS, Op0RHS, in FoldAndOfFCmps() 1336 Value *Op0RHS = Op0I->getOperand(1); in visitAnd() local 1347 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd() 1348 Op0RHS->getName()+".masked"); in visitAnd() 1351 if (!isa<Constant>(Op0RHS) && in visitAnd() 1352 MaskedValueIsZero(Op0RHS, NotAndRHS, 0, &I)) { in visitAnd() 1356 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd() [all …]
|