Searched refs:LHSI (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1539 Instruction *LHSI,
1543 switch (LHSI->getOpcode()) {
1549 match(LHSI->getOperand(0), m_Signum(m_Value(V))))
1553 if (ICI.isEquality() && LHSI->hasOneUse()) {
1556 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(),
1557 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits();
1559 computeKnownBits(LHSI->getOperand(0), KnownZero, KnownOne, 0, &ICI);
1566 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0),
1573 if (ConstantInt *XorCst = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
1578 Value *CompareVal = LHSI
1538 visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHSI, ConstantInt *RHS) argument
4297 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument
[all...]
H A DInstCombineAndOrXor.cpp361 Instruction *LHSI = dyn_cast<Instruction>(LHS); local
362 if (!LHSI || LHSI->getNumOperands() != 2 ||
363 !isa<ConstantInt>(LHSI->getOperand(1))) return nullptr;
365 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
367 switch (LHSI->getOpcode()) {
400 return Builder->CreateSub(LHSI->getOperand(0), RHS, "fold");
401 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold");
H A DInstCombineInternal.h265 Instruction *FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI,
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp993 Instruction *LHSI,
997 switch (LHSI->getOpcode()) {
999 if (ICI.isEquality() && LHSI->hasOneUse()) {
1002 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(),
1003 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits();
1006 ComputeMaskedBits(LHSI->getOperand(0), Mask, KnownZero, KnownOne);
1013 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0),
1020 if (ConstantInt *XorCST = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
1025 Value *CompareVal = LHSI->getOperand(0);
1031 Worklist.Add(LHSI);
992 visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHSI, ConstantInt *RHS) argument
2578 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument
[all...]
H A DInstCombineAndOrXor.cpp410 Instruction *LHSI = dyn_cast<Instruction>(LHS); local
411 if (!LHSI || LHSI->getNumOperands() != 2 ||
412 !isa<ConstantInt>(LHSI->getOperand(1))) return 0;
414 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
416 switch (LHSI->getOpcode()) {
449 return Builder->CreateSub(LHSI->getOperand(0), RHS, "fold");
450 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold");
H A DInstCombine.h136 Instruction *FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI,
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DEarlyCSE.cpp123 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local
126 return LHSI == RHSI;
128 if (LHSI->getOpcode() != RHSI->getOpcode()) return false;
129 return LHSI->isIdenticalTo(RHSI);
196 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local
198 return LHSI == RHSI;
199 return LHSI->isIdenticalTo(RHSI);
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp140 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local
143 return LHSI == RHSI;
145 if (LHSI->getOpcode() != RHSI->getOpcode())
147 if (LHSI->isIdenticalToWhenDefined(RHSI))
151 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) {
163 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) {
230 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local
232 return LHSI == RHSI;
233 return LHSI->isIdenticalTo(RHSI);
/external/clang/lib/Format/
H A DSortJavaScriptImports.cpp147 [&](unsigned LHSI, unsigned RHSI) {
148 return References[LHSI] < References[RHSI];

Completed in 280 milliseconds