Home
last modified time | relevance | path

Searched refs:SrcI (Results 1 – 7 of 7) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp420 MachineInstr *SrcI = Src->getInstr(); in restoreLatency() local
426 for (unsigned OpNum = 0; OpNum < SrcI->getNumOperands(); OpNum++) { in restoreLatency()
427 const MachineOperand &MO = SrcI->getOperand(OpNum); in restoreLatency()
437 int Latency = (InstrInfo.getOperandLatency(&InstrItins, *SrcI, in restoreLatency()
445 updateLatency(*SrcI, *DstI, I); in restoreLatency()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1144 BinaryOperator *SrcI = dyn_cast<BinaryOperator>(Src); in visitZExt() local
1145 if (SrcI && SrcI->getOpcode() == Instruction::Or) { in visitZExt()
1149 ICmpInst *LHS = dyn_cast<ICmpInst>(SrcI->getOperand(0)); in visitZExt()
1150 ICmpInst *RHS = dyn_cast<ICmpInst>(SrcI->getOperand(1)); in visitZExt()
1172 if (SrcI && in visitZExt()
1173 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
1179 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
1655 Value *SrcI = OpI->getOperand(0); in FoldItoFPtoI() local
1658 Type *SrcTy = SrcI->getType(); in FoldItoFPtoI()
1678 return new SExtInst(SrcI, FITy); in FoldItoFPtoI()
[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/swiftshader/third_party/llvm-7.0/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()
/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()