Lines Matching full:extract

1 //===- llvm-extract.cpp - LLVM function extraction utility ----------------===//
44 cl::OptionCategory ExtractCat("llvm-extract Options");
69 Recursive("recursive", cl::desc("Recursively extract all called functions"),
72 // ExtractFuncs - The functions to extract from the module.
74 ExtractFuncs("func", cl::desc("Specify function to extract"),
78 // extract from the module.
81 cl::desc("Specify function(s) to extract using a "
85 // ExtractBlocks - The blocks to extract from the module.
89 "Specify <function, basic block1[;basic block2...]> pairs to extract.\n"
94 " --bb=f:bb1;bb2 will extract one function with both bb1 and bb2;\n"
95 " --bb=f:bb1 --bb=f:bb2 will extract two functions, one with bb1, one "
99 // ExtractAlias - The alias to extract from the module.
101 ExtractAliases("alias", cl::desc("Specify alias to extract"),
105 // extract from the module.
108 cl::desc("Specify alias(es) to extract using a "
112 // ExtractGlobals - The globals to extract from the module.
114 ExtractGlobals("glob", cl::desc("Specify global to extract"),
118 // extract from the module...
121 cl::desc("Specify global(s) to extract using a "
158 // Figure out which aliases we should extract. in main()
169 // Extract aliases via regular expression matching. in main()
192 // Figure out which globals we should extract. in main()
203 // Extract globals via regular expression matching. in main()
225 // Figure out which functions we should extract. in main()
235 // Extract functions via regular expression matching. in main()
259 // Figure out which BasicBlocks we should extract. in main()
349 // Extract the specified basic blocks from the module and erase the existing in main()
352 // Figure out which BasicBlocks we should extract. in main()