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...]
InstCombine.h 146 Instruction *FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI,
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...]
  /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);

Completed in 147 milliseconds