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

  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp     [all...]
InstCombineAndOrXor.cpp 335 Instruction *LHSI = dyn_cast<Instruction>(LHS);
336 if (!LHSI || LHSI->getNumOperands() != 2 ||
337 !isa<ConstantInt>(LHSI->getOperand(1))) return nullptr;
339 ConstantInt *N = cast<ConstantInt>(LHSI->getOperand(1));
341 switch (LHSI->getOpcode()) {
374 return Builder->CreateSub(LHSI->getOperand(0), RHS, "fold");
375 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold");
    [all...]
InstCombine.h 161 Instruction *FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI,
  /external/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 143 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
146 return LHSI == RHSI;
148 if (LHSI->getOpcode() != RHSI->getOpcode()) return false;
149 if (LHSI->isIdenticalTo(RHSI)) return true;
152 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) {
173 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) {
245 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
247 return LHSI == RHSI;
248 return LHSI->isIdenticalTo(RHSI);

Completed in 99 milliseconds