llvm.org GIT mirror llvm / 63a4c24
Symbol hygiene: Make sure declarations and definitions match, make helper functions static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166376 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 6 years ago
4 changed file(s) with 8 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3535 /** See llvm::createBBVectorizePass function. */
3636 void LLVMAddBBVectorizePass(LLVMPassManagerRef PM);
3737
38 /** See llvm::createLoopVectorizePass function. */
39 void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
40
3841 /**
3942 * @}
4043 */
5050 char MachineFunctionPrinterPass::ID = 0;
5151 }
5252
53 char &MachineFunctionPrinterPassID = MachineFunctionPrinterPass::ID;
53 char &llvm::MachineFunctionPrinterPassID = MachineFunctionPrinterPass::ID;
5454 INITIALIZE_PASS(MachineFunctionPrinterPass, "print-machineinstrs",
5555 "Machine Function Printer", false, false)
5656
634634 }
635635
636636
637 namespace {
637638 //===----------------------------------------------------------------------===//
638639 // ScheduleDAGLinearize - No scheduling scheduler, it simply linearize the
639640 // DAG in topological order.
653654
654655 void ScheduleNode(SDNode *N);
655656 };
657 } // end anonymous namespace
656658
657659 void ScheduleDAGLinearize::ScheduleNode(SDNode *N) {
658660 if (N->getNodeId() != 0)
118118 }
119119
120120 /// Find KV in array using binary search.
121 const SubtargetFeatureKV *Find(const StringRef S, const SubtargetFeatureKV *A,
122 size_t L) {
121 static const SubtargetFeatureKV *Find(StringRef S, const SubtargetFeatureKV *A,
122 size_t L) {
123123 // Make the lower bound element we're looking for
124124 SubtargetFeatureKV KV;
125125 KV.Key = S.data();