Lines Matching refs:STy
363 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) { in addTrackedFunction() local
365 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in addTrackedFunction()
400 auto *STy = dyn_cast<StructType>(V->getType()); in getStructLatticeValueFor() local
401 assert(STy && "getStructLatticeValueFor() can be called only on structs"); in getStructLatticeValueFor()
402 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in getStructLatticeValueFor()
435 if (auto *STy = dyn_cast<StructType>(V->getType())) in markOverdefined() local
436 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in markOverdefined()
442 bool isStructLatticeConstant(Function *F, StructType *STy);
502 bool SCCPInstVisitor::isStructLatticeConstant(Function *F, StructType *STy) { in isStructLatticeConstant() argument
503 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in isStructLatticeConstant()
789 if (auto *STy = dyn_cast<StructType>(ResultOp->getType())) in visitReturnInst() local
791 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in visitReturnInst()
876 auto *STy = dyn_cast<StructType>(IVI.getType()); in visitInsertValueInst() local
877 if (!STy) in visitInsertValueInst()
894 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in visitInsertValueInst()
1237 if (auto *STy = dyn_cast<StructType>(AI->getType())) { in handleCallArguments() local
1238 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in handleCallArguments()
1355 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) { in handleCallResult() local
1361 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in handleCallResult()
1450 if (auto *STy = dyn_cast<StructType>(I.getType())) { in resolvedUndefsIn() local
1465 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) { in resolvedUndefsIn()
1597 bool SCCPSolver::isStructLatticeConstant(Function *F, StructType *STy) { in isStructLatticeConstant() argument
1598 return Visitor->isStructLatticeConstant(F, STy); in isStructLatticeConstant()