Searched refs:Function (Results 1 - 25 of 565) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DBypassSlowDivision.h22 #include "llvm/IR/Function.h"
28 bool bypassSlowDivision(Function &F,
29 Function::iterator &I,
H A DModuleUtils.h20 class Function;
29 void appendToGlobalCtors(Module &M, Function *F, int Priority);
32 void appendToGlobalDtors(Module &M, Function *F, int Priority);
H A DCloning.h30 class Function;
99 const Twine &NameSuffix = "", Function *F = 0,
114 Function *CloneFunction(const Function *F,
128 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
148 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
H A DGlobalStatus.h17 class Function;
63 const Function *AccessingFunction;
H A DCodeExtractor.h24 class Function;
89 Function *extractCodeRegion();
111 Function *constructFunction(const ValueSet &inputs,
115 Function *oldFunction, Module *M);
117 void moveCodeToFunction(Function *newFunction);
119 void emitCallAndSwitchStatement(Function *newFunction,
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DLint.h27 class Function;
44 const Function &F ///< The function to be checked
H A DBlockFrequencyInfo.h31 BlockFrequencyImpl<BasicBlock, Function, BranchProbabilityInfo> *BFI;
42 bool runOnFunction(Function &F);
44 const Function *getFunction() const;
H A DVerifier.h30 class Function;
69 const Function &F, ///< The function to be verified
H A DCFG.h25 class Function;
36 const Function &F,
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DArgument.h29 /// This class represents an incoming formal argument to a Function. A formal
37 Function *Parent;
39 friend class SymbolTableListTraits<Argument, Function>;
40 void setParent(Function *parent);
47 explicit Argument(Type *Ty, const Twine &Name = "", Function *F = 0);
49 inline const Function *getParent() const { return Parent; }
50 inline Function *getParent() { return Parent; }
/freebsd-9.3-release/contrib/llvm/include/llvm/
H A DAutoUpgrade.h20 class Function;
31 bool UpgradeIntrinsicFunction(Function *F, Function *&NewFn);
35 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
41 void UpgradeCallsToIntrinsic(Function* F);
/freebsd-9.3-release/contrib/llvm/include/llvm/Target/
H A DTargetIntrinsicInfo.h22 class Function;
51 virtual unsigned getIntrinsicID(Function *F) const;
56 /// Create or insert an LLVM Function declaration for an intrinsic,
59 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
/freebsd-9.3-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAllocaHoisting.cpp16 #include "llvm/IR/Function.h"
21 bool NVPTXAllocaHoisting::runOnFunction(Function &function) {
23 Function::iterator I = function.begin();
26 for (Function::iterator E = function.end(); I != E; ++I) {
H A DNVPTXAllocaHoisting.h24 class Function;
42 virtual bool runOnFunction(Function &function);
H A DNVPTXUtilities.h17 #include "llvm/IR/Function.h"
46 bool getMaxNTIDx(const llvm::Function &, unsigned &);
47 bool getMaxNTIDy(const llvm::Function &, unsigned &);
48 bool getMaxNTIDz(const llvm::Function &, unsigned &);
50 bool getReqNTIDx(const llvm::Function &, unsigned &);
51 bool getReqNTIDy(const llvm::Function &, unsigned &);
52 bool getReqNTIDz(const llvm::Function &, unsigned &);
54 bool getMinCTASm(const llvm::Function &, unsigned &);
55 bool isKernelFunction(const llvm::Function &);
57 bool getAlign(const llvm::Function
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/
H A DTargetIntrinsicInfo.cpp16 #include "llvm/IR/Function.h"
25 unsigned TargetIntrinsicInfo::getIntrinsicID(Function *F) const {
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DFlattenCFGPass.cpp29 bool runOnFunction(Function &F);
52 static bool iterativelyFlattenCFG(Function &F, AliasAnalysis *AA) {
60 for (Function::iterator BBIt = F.begin(); BBIt != F.end();) {
70 bool FlattenCFGPass::runOnFunction(Function &F) {
H A DPartiallyInlineLibCalls.cpp39 virtual bool runOnFunction(Function &F);
43 bool optimizeSQRT(CallInst *Call, Function *CalledFunc,
44 BasicBlock &CurrBB, Function::iterator &BB);
59 bool PartiallyInlineLibCalls::runOnFunction(Function &F) {
61 Function::iterator CurrBB;
64 for (Function::iterator BB = F.begin(), BE = F.end(); BB != BE;) {
70 Function *CalledFunc;
102 Function *CalledFunc,
104 Function::iterator &BB) {
/freebsd-9.3-release/contrib/llvm/include/llvm/Assembly/
H A DAssemblyAnnotationWriter.h22 class Function;
35 virtual void emitFunctionAnnot(const Function *,
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/JIT/
H A DJIT.h23 class Function;
37 std::vector<AssertingVH<Function> > PendingFunctions;
47 std::vector<AssertingVH<Function> > &getPendingFunctions(const MutexGuard &L){
117 virtual GenericValue runFunction(Function *F,
139 void *getPointerToFunction(Function *F);
160 void *getPointerToFunctionOrStub(Function *F);
168 void *recompileAndRelinkFunction(Function *F);
171 /// Function.
173 void freeMachineCodeForFunction(Function *F);
179 void addPendingFunction(Function *
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DInstructionNamer.cpp18 #include "llvm/IR/Function.h"
34 bool runOnFunction(Function &F) {
35 for (Function::arg_iterator AI = F.arg_begin(), AE = F.arg_end();
40 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DCFGPrinter.cpp15 // Function::viewCFG method, which is useful for debugging passes which operate
31 virtual bool runOnFunction(Function &F) {
54 virtual bool runOnFunction(Function &F) {
78 virtual bool runOnFunction(Function &F) {
86 WriteGraph(File, (const Function*)&F);
112 virtual bool runOnFunction(Function &F) {
120 WriteGraph(File, (const Function*)&F, true);
144 void Function::viewCFG() const {
153 void Function::viewCFGOnly() const {
H A DTrace.cpp20 #include "llvm/IR/Function.h"
25 Function *Trace::getFunction() const {
36 Function *F = getFunction();
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/
H A DMipsJITInfo.h49 virtual void *emitFunctionStub(const Function *F, void *Fn,
58 virtual void relocate(void *Function, MachineRelocation *MR,
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCJITInfo.h34 virtual void *emitFunctionStub(const Function* F, void *Fn,
37 virtual void relocate(void *Function, MachineRelocation *MR,

Completed in 117 milliseconds

1234567891011>>