Home
last modified time | relevance | path

Searched refs:OtherVal (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2686 Value *OtherVal, InstCombiner &IC) { in ProcessUMulZExtIdiom() argument
2693 assert(I.getOperand(0) == OtherVal || I.getOperand(1) == OtherVal); in ProcessUMulZExtIdiom()
2753 if (ZExtInst *Zext = dyn_cast<ZExtInst>(OtherVal)) in ProcessUMulZExtIdiom()
2766 if (match(OtherVal, m_And(m_Value(ValToMask), m_ConstantInt(CI)))) { in ProcessUMulZExtIdiom()
2782 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in ProcessUMulZExtIdiom()
2794 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in ProcessUMulZExtIdiom()
2805 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in ProcessUMulZExtIdiom()
2817 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) { in ProcessUMulZExtIdiom()
2848 if (U == &I || U == OtherVal) in ProcessUMulZExtIdiom()
2871 if (isa<Instruction>(OtherVal)) in ProcessUMulZExtIdiom()
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1552 static bool TryToShrinkGlobalToBoolean(GlobalVariable *GV, Constant *OtherVal) { in TryToShrinkGlobalToBoolean() argument
1591 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) in TryToShrinkGlobalToBoolean()
1598 bool StoringOther = SI->getOperand(0) == OtherVal; in TryToShrinkGlobalToBoolean()
1636 NSI = SelectInst::Create(NLI, OtherVal, InitVal, "", LI); in TryToShrinkGlobalToBoolean()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp1609 static bool TryToShrinkGlobalToBoolean(GlobalVariable *GV, Constant *OtherVal) { in TryToShrinkGlobalToBoolean() argument
1648 if (ConstantInt *CI = dyn_cast<ConstantInt>(OtherVal)) in TryToShrinkGlobalToBoolean()
1655 bool StoringOther = SI->getOperand(0) == OtherVal; in TryToShrinkGlobalToBoolean()
1690 NSI = SelectInst::Create(NLI, OtherVal, InitVal, "", LI); in TryToShrinkGlobalToBoolean()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2475 Value *OtherVal = A == Op1 ? B : A; in visitICmpInst() local
2476 return new ICmpInst(I.getPredicate(), OtherVal, in visitICmpInst()
2502 Value *OtherVal = A == Op0 ? B : A; in visitICmpInst() local
2503 return new ICmpInst(I.getPredicate(), OtherVal, in visitICmpInst()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp14157 SDValue OtherVal = N->getOperand(N->getOpcode() == ISD::SUB ? 0 : 1); in OptimizeConditionalInDecrement() local
14160 DL, OtherVal.getValueType(), OtherVal, in OptimizeConditionalInDecrement()
14161 DAG.getConstant(-1ULL, OtherVal.getValueType()), NewCmp); in OptimizeConditionalInDecrement()
14163 DL, OtherVal.getValueType(), OtherVal, in OptimizeConditionalInDecrement()
14164 DAG.getConstant(0, OtherVal.getValueType()), NewCmp); in OptimizeConditionalInDecrement()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp30617 SDValue OtherVal = N->getOperand(N->getOpcode() == ISD::SUB ? 0 : 1); in OptimizeConditionalInDecrement() local
30620 DL, OtherVal.getValueType(), OtherVal, in OptimizeConditionalInDecrement()
30621 DAG.getConstant(-1ULL, DL, OtherVal.getValueType()), in OptimizeConditionalInDecrement()
30624 DL, OtherVal.getValueType(), OtherVal, in OptimizeConditionalInDecrement()
30625 DAG.getConstant(0, DL, OtherVal.getValueType()), NewCmp); in OptimizeConditionalInDecrement()