Home
last modified time | relevance | path

Searched refs:SrcI (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp835 BinaryOperator *SrcI = dyn_cast<BinaryOperator>(Src); in visitZExt() local
836 if (SrcI && SrcI->getOpcode() == Instruction::Or) { in visitZExt()
839 ICmpInst *LHS = dyn_cast<ICmpInst>(SrcI->getOperand(0)); in visitZExt()
840 ICmpInst *RHS = dyn_cast<ICmpInst>(SrcI->getOperand(1)); in visitZExt()
851 if (SrcI && SrcI->getOpcode() == Instruction::And && SrcI->hasOneUse()) in visitZExt()
852 if (ConstantInt *C = dyn_cast<ConstantInt>(SrcI->getOperand(1))) in visitZExt()
853 if (TruncInst *TI = dyn_cast<TruncInst>(SrcI->getOperand(0))) { in visitZExt()
862 if (SrcI && SrcI->getOpcode() == Instruction::Xor && SrcI->hasOneUse()) in visitZExt()
863 if (ConstantInt *C = dyn_cast<ConstantInt>(SrcI->getOperand(1))) in visitZExt()
864 if (BinaryOperator *And = dyn_cast<BinaryOperator>(SrcI->getOperand(0))) in visitZExt()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp923 BinaryOperator *SrcI = dyn_cast<BinaryOperator>(Src); in visitZExt() local
924 if (SrcI && SrcI->getOpcode() == Instruction::Or) { in visitZExt()
927 ICmpInst *LHS = dyn_cast<ICmpInst>(SrcI->getOperand(0)); in visitZExt()
928 ICmpInst *RHS = dyn_cast<ICmpInst>(SrcI->getOperand(1)); in visitZExt()
941 if (SrcI && in visitZExt()
942 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
948 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
956 if (SrcI && SrcI->hasOneUse() && in visitZExt()
957 SrcI->getType()->getScalarType()->isIntegerTy(1) && in visitZExt()
958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
[all …]
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp756 VMap::iterator SrcI= M.find(Src); in AddEdge() local
759 if (SrcI == M.end()) { in AddEdge()
764 SrcID = SrcI->second; in AddEdge()
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp167 for (inst_iterator SrcI = inst_begin(F), SrcE = inst_end(F); SrcI != SrcE; in dumpExampleDependence() local
168 ++SrcI) { in dumpExampleDependence()
169 if (isa<StoreInst>(*SrcI) || isa<LoadInst>(*SrcI)) { in dumpExampleDependence()
170 for (inst_iterator DstI = SrcI, DstE = inst_end(F); in dumpExampleDependence()
174 if (auto D = DA->depends(&*SrcI, &*DstI, true)) { in dumpExampleDependence()