Home
last modified time | relevance | path

Searched refs:LHSV (Results 1 – 14 of 14) sorted by relevance

/external/libcxx/test/std/containers/sequences/array/
Dcompare.fail.cpp33 const Vector LHSV(LHS.begin(), LHS.end()); in test_compare() local
35 assert((LHS == RHS) == (LHSV == RHSV)); in test_compare()
36 assert((LHS != RHS) == (LHSV != RHSV)); in test_compare()
37 assert((LHS < RHS) == (LHSV < RHSV)); in test_compare()
38 assert((LHS <= RHS) == (LHSV <= RHSV)); in test_compare()
39 assert((LHS > RHS) == (LHSV > RHSV)); in test_compare()
40 assert((LHS >= RHS) == (LHSV >= RHSV)); in test_compare()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dmemcmp-constant-fold.ll13 ; LE-NEXT: [[LHSV:%.*]] = load i32, i32* [[TMP1]], align 4
14 ; LE-NEXT: [[TMP2:%.*]] = icmp eq i32 [[LHSV]], 16777216
19 ; BE-NEXT: [[LHSV:%.*]] = load i32, i32* [[TMP1]], align 4
20 ; BE-NEXT: [[TMP2:%.*]] = icmp eq i32 [[LHSV]], 1
Dmemcmp-1.ll38 ; CHECK-NEXT: [[LHSV:%.*]] = zext i8 [[LHSC]] to i32
41 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp160 if (Value *LHSV = dyn_castNegVal(LHS)) { in visitAdd() local
162 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
166 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd()
343 if (Value *LHSV = dyn_castFNegVal(LHS)) in visitFAdd() local
344 return BinaryOperator::CreateFSub(RHS, LHSV); in visitFAdd()
DInstCombineCompares.cpp657 Value *LHSV = GEPLHS->getOperand(DiffOperand); in FoldGEPICmp() local
660 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in FoldGEPICmp()
1336 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
1339 .subtract(LHSV); in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp389 Value *LHSV = Expander.expandCodeFor(LHS, Ty, InsertAt); in expandCheck() local
391 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1124 if (Value *LHSV = dyn_castNegVal(LHS)) { in visitAdd() local
1127 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
1131 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd()
1318 if (Value *LHSV = dyn_castFNegVal(LHS)) { in visitFAdd() local
1319 Instruction *RI = BinaryOperator::CreateFSub(RHS, LHSV); in visitFAdd()
DInstCombineCompares.cpp1036 Value *LHSV = GEPLHS->getOperand(DiffOperand); in FoldGEPICmp() local
1039 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in FoldGEPICmp()
2129 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
2135 RHSV.isPowerOf2() && (LHSV & (RHSV - 1)) == (RHSV - 1)) in visitICmpInstWithInstAndIntCst()
2144 (RHSV + 1).isPowerOf2() && (LHSV & RHSV) == RHSV) in visitICmpInstWithInstAndIntCst()
2155 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
2158 .subtract(LHSV); in visitICmpInstWithInstAndIntCst()
2182 RHSV.isPowerOf2() && (LHSV & (RHSV - 1)) == 0) in visitICmpInstWithInstAndIntCst()
2191 (RHSV + 1).isPowerOf2() && (LHSV & RHSV) == 0) in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp782 Value *LHSV = B.CreateZExt(B.CreateLoad(castToCStr(LHS, B), "lhsc"), in optimizeMemCmp() local
786 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmp()
797 Value *LHSV = nullptr; in optimizeMemCmp() local
800 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmp()
810 if ((LHSV || getKnownAlignment(LHS, DL, CI) >= PrefAlignment) && in optimizeMemCmp()
812 if (!LHSV) { in optimizeMemCmp()
815 LHSV = B.CreateLoad(B.CreateBitCast(LHS, LHSPtrTy), "lhsv"); in optimizeMemCmp()
822 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmp()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp713 Value *LHSV = B.CreateZExt(B.CreateLoad(castToCStr(LHS, B), "lhsc"), in optimizeMemCmp() local
717 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmp()
734 Value *LHSV = in optimizeMemCmp() local
739 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmp()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp751 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in CallOptimizer() local
755 return B.CreateSub(LHSV, RHSV, "chardiff"); in CallOptimizer()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2301 ValueList LHSV, RHSV; in vectorizeTree() local
2303 LHSV.push_back(cast<Instruction>(V)->getOperand(0)); in vectorizeTree()
2309 Value *L = vectorizeTree(LHSV); in vectorizeTree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3205 ValueList LHSV, RHSV; in vectorizeTree() local
3207 LHSV.push_back(cast<Instruction>(V)->getOperand(0)); in vectorizeTree()
3213 Value *L = vectorizeTree(LHSV); in vectorizeTree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp982 Value *LHSV = GEPLHS->getOperand(DiffOperand); in foldGEPICmp() local
985 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()