HomeSort by relevance Sort by last modified time
    Searched defs:LHSI (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 147 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
150 return LHSI == RHSI;
152 if (LHSI->getOpcode() != RHSI->getOpcode())
154 if (LHSI->isIdenticalTo(RHSI))
158 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) {
179 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) {
246 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
248 return LHSI == RHSI;
249 return LHSI->isIdenticalTo(RHSI);
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 372 Instruction *LHSI = dyn_cast<Instruction>(LHS);
373 if (!LHSI || LHSI->getNumOperands() != 2 ||
374 !isa<ConstantInt>(LHSI->getOperand(1))) return nullptr;
376 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
378 switch (LHSI->getOpcode()) {
411 return Builder->CreateSub(LHSI->getOperand(0), RHS, "fold");
412 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold");
    [all...]

Completed in 55 milliseconds