Home
last modified time | relevance | path

Searched refs:Op0LHS (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp983 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()
1054 Value *Op0LHS = Op0I->getOperand(0); in visitAnd() local
1064 if (MaskedValueIsZero(Op0LHS, NotAndRHS)) { in visitAnd()
1068 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd()
1073 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd()
1074 Op0LHS->getName()+".masked"); in visitAnd()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1099 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()
1335 Value *Op0LHS = Op0I->getOperand(0); in visitAnd() local
1345 if (MaskedValueIsZero(Op0LHS, NotAndRHS, 0, &I)) { in visitAnd()
1349 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd()
1354 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd()
1355 Op0LHS->getName()+".masked"); in visitAnd()
1365 if (Value *V = FoldLogicalPlusAnd(Op0LHS, Op0RHS, AndRHS, false, I)) in visitAnd()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1509 Value *Op0LHS = Op0I->getOperand(0); in visitAnd() local
1510 if (isa<ZExtInst>(Op0LHS)) in visitAnd()