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()) return false;
153 if (LHSI->isIdenticalTo(RHSI)) return true;
156 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) {
177 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) {
254 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
256 return LHSI == RHSI;
257 return LHSI->isIdenticalTo(RHSI);
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 347 Instruction *LHSI = dyn_cast<Instruction>(LHS);
348 if (!LHSI || LHSI->getNumOperands() != 2 ||
349 !isa<ConstantInt>(LHSI->getOperand(1))) return 0;
351 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
353 switch (LHSI->getOpcode()) {
386 return Builder->CreateSub(LHSI->getOperand(0), RHS, "fold");
387 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold");
    [all...]

Completed in 102 milliseconds