Home
last modified time | relevance | path

Searched refs:Promotable (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp131 PHINodeSet Promotable; in getPromotablePHINodes() local
137 Promotable.insert(P); in getPromotablePHINodes()
140 for (const PHINode *P : Promotable) { in getPromotablePHINodes()
158 auto IsPromotable = [&Promotable] (const Value *V) -> bool { in getPromotablePHINodes()
160 return !Phi || Promotable.count(Phi); in getPromotablePHINodes()
164 Promotable.erase(User); in getPromotablePHINodes()
167 for (const PHINode *P : Promotable) { in getPromotablePHINodes()
177 return Promotable; in getPromotablePHINodes()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp4327 bool Promotable = true; in rewritePartition() local
4329 Promotable &= Rewriter.visit(S); in rewritePartition()
4333 Promotable &= Rewriter.visit(&S); in rewritePartition()
4344 Promotable = false; in rewritePartition()
4352 Promotable = false; in rewritePartition()
4358 if (Promotable) { in rewritePartition()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp7042 QualType ASTContext::getPromotedIntegerType(QualType Promotable) const { in getPromotedIntegerType()
7043 assert(!Promotable.isNull()); in getPromotedIntegerType()
7044 assert(Promotable->isPromotableIntegerType()); in getPromotedIntegerType()
7045 if (const auto *ET = Promotable->getAs<EnumType>()) in getPromotedIntegerType()
7048 if (const auto *BT = Promotable->getAs<BuiltinType>()) { in getPromotedIntegerType()
7076 if (Promotable->isSignedIntegerType()) in getPromotedIntegerType()
7078 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType()
7080 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()