Lines Matching refs:LoopVectorizeHints
69 bool LoopVectorizeHints::Hint::validate(unsigned Val) { in validate()
83 LoopVectorizeHints::LoopVectorizeHints(const Loop *L, in LoopVectorizeHints() function in llvm::LoopVectorizeHints
106 bool LoopVectorizeHints::allowVectorization( in allowVectorization()
108 if (getForce() == LoopVectorizeHints::FK_Disabled) { in allowVectorization()
114 if (VectorizeOnlyWhenForced && getForce() != LoopVectorizeHints::FK_Enabled) { in allowVectorization()
139 void LoopVectorizeHints::emitRemarkWithHints() const { in emitRemarkWithHints()
143 if (Force.Value == LoopVectorizeHints::FK_Disabled) in emitRemarkWithHints()
152 if (Force.Value == LoopVectorizeHints::FK_Enabled) { in emitRemarkWithHints()
165 const char *LoopVectorizeHints::vectorizeAnalysisPassName() const { in vectorizeAnalysisPassName()
168 if (getForce() == LoopVectorizeHints::FK_Disabled) in vectorizeAnalysisPassName()
170 if (getForce() == LoopVectorizeHints::FK_Undefined && getWidth() == 0) in vectorizeAnalysisPassName()
175 void LoopVectorizeHints::getHintsFromMetadata() { in getHintsFromMetadata()
211 void LoopVectorizeHints::setHint(StringRef Name, Metadata *Arg) { in setHint()
233 MDNode *LoopVectorizeHints::createHintMetadata(StringRef Name, in createHintMetadata()
242 bool LoopVectorizeHints::matchesHintMetadataName(MDNode *Node, in matchesHintMetadataName()
254 void LoopVectorizeHints::writeHintsToMetadata(ArrayRef<Hint> HintTypes) { in writeHintsToMetadata()
285 Function *F, Loop *L, const LoopVectorizeHints &Hints) { in doesNotMeet()
1136 if (Hints->getForce() == LoopVectorizeHints::FK_Enabled) in canVectorize()