Lines Matching refs:STy
522 auto *STy = cast<StructType>(F->getReturnType()); in invalidate() local
523 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) in invalidate()
527 } else if (auto *STy = dyn_cast<StructType>(Inst->getType())) { in invalidate() local
528 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) { in invalidate()
697 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) { in addTrackedFunction() local
699 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in addTrackedFunction()
736 auto *STy = dyn_cast<StructType>(V->getType()); in getStructLatticeValueFor() local
737 assert(STy && "getStructLatticeValueFor() can be called only on structs"); in getStructLatticeValueFor()
738 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in getStructLatticeValueFor()
784 if (auto *STy = dyn_cast<StructType>(V->getType())) in markOverdefined() local
785 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in markOverdefined()
791 bool isStructLatticeConstant(Function *F, StructType *STy);
889 bool SCCPInstVisitor::isStructLatticeConstant(Function *F, StructType *STy) { in isStructLatticeConstant() argument
890 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in isStructLatticeConstant()
959 if (auto *STy = dyn_cast<StructType>(NewArg->getType())) { in setLatticeValueForSpecializationArguments() local
960 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) { in setLatticeValueForSpecializationArguments()
969 if (auto *STy = dyn_cast<StructType>(NewArg->getType())) { in setLatticeValueForSpecializationArguments() local
970 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) { in setLatticeValueForSpecializationArguments()
1211 if (auto *STy = dyn_cast<StructType>(ResultOp->getType())) in visitReturnInst() local
1213 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in visitReturnInst()
1326 auto *STy = dyn_cast<StructType>(IVI.getType()); in visitInsertValueInst() local
1327 if (!STy) in visitInsertValueInst()
1344 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in visitInsertValueInst()
1706 if (auto *STy = dyn_cast<StructType>(AI->getType())) { in handleCallArguments() local
1707 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in handleCallArguments()
1821 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) { in handleCallResult() local
1827 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in handleCallResult()
1899 if (auto *STy = dyn_cast<StructType>(I.getType())) { in resolvedUndef() local
1914 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in resolvedUndef()
2087 bool SCCPSolver::isStructLatticeConstant(Function *F, StructType *STy) { in isStructLatticeConstant() argument
2088 return Visitor->isStructLatticeConstant(F, STy); in isStructLatticeConstant()