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 343 Instruction *LHSI = dyn_cast<Instruction>(LHS);
344 if (!LHSI || LHSI->getNumOperands() != 2 ||
345 !isa<ConstantInt>(LHSI->getOperand(1))) return 0;
347 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
349 switch (LHSI->getOpcode()) {
382 return Builder->CreateSub(LHSI->getOperand(0), RHS, "fold");
383 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold");
    [all...]

Completed in 350 milliseconds