Lines Matching defs:AArch64PromoteConstant
1 //==- AArch64PromoteConstant.cpp - Promote constant to global for AArch64 --==//
9 // This file implements the AArch64PromoteConstant pass which promotes constants
61 // AArch64PromoteConstant
92 class AArch64PromoteConstant : public ModulePass {
111 AArch64PromoteConstant() : ModulePass(ID) {
225 char AArch64PromoteConstant::ID = 0;
227 INITIALIZE_PASS_BEGIN(AArch64PromoteConstant, "aarch64-promote-const",
230 INITIALIZE_PASS_END(AArch64PromoteConstant, "aarch64-promote-const",
234 return new AArch64PromoteConstant();
361 AArch64PromoteConstant::PromotionCacheTy &PromotionCache) {
363 std::make_pair(&C, AArch64PromoteConstant::PromotedConstant()));
369 Instruction *AArch64PromoteConstant::findInsertionPoint(Instruction &User,
379 bool AArch64PromoteConstant::isDominated(Instruction *NewPt, Instruction *User,
405 bool AArch64PromoteConstant::tryAndMerge(Instruction *NewPt, Instruction *User,
456 void AArch64PromoteConstant::computeInsertionPoint(
482 AArch64PromoteConstant::PromotedConstant &PC) {
497 void AArch64PromoteConstant::insertDefinitions(Function &F,
534 void AArch64PromoteConstant::promoteConstants(
553 bool AArch64PromoteConstant::runOnFunction(Function &F,