Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7637 void promoteImpl(Instruction *ToBePromoted);
7764 bool canPromote(const Instruction *ToBePromoted) const { in canPromote()
7766 return isa<BinaryOperator>(ToBePromoted); in canPromote()
7771 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote()
7774 for (const Use &U : ToBePromoted->operands()) { in shouldPromote()
7780 if (canCauseUndefinedBehavior(ToBePromoted, U.getOperandNo())) in shouldPromote()
7789 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote()
7803 void enqueueForPromotion(Instruction *ToBePromoted) { in enqueueForPromotion() argument
7804 InstsToBePromoted.push_back(ToBePromoted); in enqueueForPromotion()
7828 for (auto &ToBePromoted : InstsToBePromoted) in promote() local
[all …]