Lines Matching defs:STy
546 auto *STy = cast<StructType>(F->getReturnType());
547 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I)
551 } else if (auto *STy = dyn_cast<StructType>(Inst->getType())) {
552 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) {
721 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) {
723 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
760 auto *STy = dyn_cast<StructType>(V->getType());
761 assert(STy && "getStructLatticeValueFor() can be called only on structs");
762 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
808 if (auto *STy = dyn_cast<StructType>(V->getType()))
809 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
826 bool isStructLatticeConstant(Function *F, StructType *STy);
933 bool SCCPInstVisitor::isStructLatticeConstant(Function *F, StructType *STy) {
934 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1003 if (auto *STy = dyn_cast<StructType>(NewArg->getType())) {
1004 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) {
1013 if (auto *STy = dyn_cast<StructType>(NewArg->getType())) {
1014 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) {
1255 if (auto *STy = dyn_cast<StructType>(ResultOp->getType()))
1257 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
1364 auto *STy = dyn_cast<StructType>(IVI.getType());
1365 if (!STy)
1382 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1757 if (auto *STy = dyn_cast<StructType>(AI->getType())) {
1758 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1877 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) {
1883 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
1955 if (auto *STy = dyn_cast<StructType>(I.getType())) {
1970 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
2147 bool SCCPSolver::isStructLatticeConstant(Function *F, StructType *STy) {
2148 return Visitor->isStructLatticeConstant(F, STy);