Searched defs:LHSI (Results 1 - 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 143 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local 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; local 247 return LHSI == RHSI; 248 return LHSI->isIdenticalTo(RHSI);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 335 Instruction *LHSI = dyn_cast<Instruction>(LHS); local 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");
|
H A D | InstCombineCompares.cpp | 1051 Instruction *LHSI, 1055 switch (LHSI->getOpcode()) { 1057 if (ICI.isEquality() && LHSI->hasOneUse()) { 1060 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), 1061 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); 1063 computeKnownBits(LHSI->getOperand(0), KnownZero, KnownOne); 1070 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0), 1077 if (ConstantInt *XorCst = dyn_cast<ConstantInt>(LHSI->getOperand(1))) { 1082 Value *CompareVal = LHSI->getOperand(0); 1088 Worklist.Add(LHSI); 1050 visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHSI, ConstantInt *RHS) argument 3291 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument [all...] |
Completed in 95 milliseconds