Searched defs:LHSI (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp125 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local
128 return LHSI == RHSI;
130 if (LHSI->getOpcode() != RHSI->getOpcode()) return false;
131 return LHSI->isIdenticalTo(RHSI);
198 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; local
200 return LHSI == RHSI;
201 return LHSI->isIdenticalTo(RHSI);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp347 Instruction *LHSI = dyn_cast<Instruction>(LHS); local
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");
H A DInstCombineCompares.cpp1020 Instruction *LHSI,
1024 switch (LHSI->getOpcode()) {
1026 if (ICI.isEquality() && LHSI->hasOneUse()) {
1029 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(),
1030 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits();
1032 ComputeMaskedBits(LHSI->getOperand(0), KnownZero, KnownOne);
1039 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0),
1046 if (ConstantInt *XorCST = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
1051 Value *CompareVal = LHSI->getOperand(0);
1057 Worklist.Add(LHSI);
1019 visitICmpInstWithInstAndIntCst(ICmpInst &ICI, Instruction *LHSI, ConstantInt *RHS) argument
2630 FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, Constant *RHSC) argument
[all...]

Completed in 24 milliseconds