Searched refs:Function (Results 176 - 200 of 1203) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A DJsContext.h53 Persistent<Function> fOnDraw;
/external/guava/guava/src/com/google/common/cache/
H A DCacheLoader.java24 import com.google.common.base.Function;
103 * Returns a {@code CacheLoader} which creates values by applying a {@code Function} to the key.
105 public static <K, V> CacheLoader<K, V> from(Function<K, V> function) {
111 private final Function<K, V> computingFunction;
113 public FunctionToCacheLoader(Function<K, V> computingFunction) {
/external/llvm/examples/BrainF/
H A DBrainFDriver.cpp60 Function *main_func = cast<Function>(mod->
66 Function::arg_iterator args = main_func->arg_begin();
146 Function *brainf_func = mod->getFunction("brainf");
/external/llvm/examples/Fibonacci/
H A Dfibonacci.cpp39 static Function *CreateFibFunction(Module *M, LLVMContext &Context) {
42 Function *FibF =
43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
102 Function *FibF = CreateFibFunction(M.get(), Context);
/external/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp33 static Function* createAdd1(Module *M) {
37 Function *Add1F =
38 cast<Function>(M->getOrInsertFunction("add1",
65 static Function *CreateFibFunction(Module *M) {
68 Function *FibF =
69 cast<Function>(M->getOrInsertFunction("fib",
117 Function* F;
248 Function* add1F = createAdd1( M );
249 Function* fibF = CreateFibFunction( M );
/external/llvm/include/llvm/Analysis/
H A DCodeMetrics.h23 class Function;
/external/llvm/include/llvm/CodeGen/
H A DMachineFunctionAnalysis.h39 return "Machine Function Analysis";
44 bool runOnFunction(Function &F) override;
/external/llvm/include/llvm/IR/
H A DGVMaterializer.h24 class Function;
/external/llvm/include/llvm/Transforms/Utils/
H A DUnifyFunctionExitNodes.h45 bool runOnFunction(Function &F) override;
/external/llvm/lib/CodeGen/
H A DLiveDebugVariables.h36 DenseMap<const Function*, DISubprogram> FunctionDIs;
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h21 #include "llvm/IR/Function.h"
71 Function *CurFunction;// The currently executing function
94 std::vector<Function*> AtExitHandlers;
115 GenericValue runFunction(Function *F,
127 void *recompileAndRelinkFunction(Function *F) override {
133 void freeMachineCodeForFunction(Function *F) override { }
137 void callFunction(Function *F, const std::vector<GenericValue> &ArgVals);
193 GenericValue callExternalFunction(Function *F,
197 void addAtExitHandler(Function *F) {
215 void *getPointerToFunction(Function *
[all...]
/external/llvm/lib/IR/
H A DMangler.cpp19 #include "llvm/IR/Function.h"
62 static void AddFastCallStdCallSuffix(raw_ostream &OS, const Function *F,
66 for (Function::const_arg_iterator AI = F->arg_begin(), AE = F->arg_end();
111 const Function *MSFunc = nullptr;
114 if ((MSFunc = dyn_cast<Function>(GV))) {
/external/llvm/lib/Target/Mips/
H A DMipsOs16.cpp35 bool needsFPFromSig(Function &F) {
59 bool needsFP(Function &F) {
62 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
85 Function &F_ = *CI->getCalledFunction();
/external/llvm/lib/Target/R600/
H A DAMDGPUIntrinsicInfo.h41 Function *getDeclaration(Module *M, unsigned ID,
/external/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp25 #include "llvm/IR/Function.h"
47 bool SimplifyFunction(Function *F);
75 if (Function *F = (*I)->getFunction())
88 Function *F = (*I)->getFunction();
104 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) {
119 } else if (Function *Callee = CI->getCalledFunction()) {
148 Function *F = (*I)->getFunction();
163 if (Function *F = (*I)->getFunction())
174 bool PruneEH::SimplifyFunction(Function *F) {
176 for (Function
[all...]
H A DMergeFunctions.cpp27 // -- We define Function* container class with custom "operator<" (FunctionPtr).
130 FunctionComparator(const DataLayout *DL, const Function *F1,
131 const Function *F2)
355 const Function *FnL, *FnR;
396 AssertingVH<Function> F;
400 FunctionPtr(Function *F, const DataLayout *DL) : F(F), DL(DL) {}
401 Function *getFunc() const { return F; }
1009 for (Function::const_arg_iterator ArgLI = FnL->arg_begin(),
1083 bool insert(Function *NewFunction);
1085 /// Remove a Function fro
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp72 if (const Function *Callee = CS.getCalledFunction()) {
75 for (Function::const_iterator I = Callee->begin(), E = Callee->end();
160 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1));
/external/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp23 #include "llvm/IR/Function.h"
59 bool runOnFunction(Function &F) override;
70 bool RegToMem::runOnFunction(Function &F) {
93 for (Function::iterator ibb = F.begin(), ibe = F.end();
112 for (Function::iterator ibb = F.begin(), ibe = F.end();
H A DSampleProfile.cpp37 #include "llvm/IR/Function.h"
126 unsigned getFunctionLoc(Function &F);
127 bool emitAnnotations(Function &F, DominatorTree *DomTree,
141 bool computeBlockWeights(Function &F);
142 void findEquivalenceClasses(Function &F);
146 void propagateWeights(Function &F);
148 void buildEdges(Function &F);
149 bool propagateThroughEdges(Function &F);
250 SampleFunctionProfile &getProfile(const Function &F) {
302 bool runOnFunction(Function
[all...]
/external/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp79 bool runOnFunction(Function &F) override;
100 static bool hasDebugInfo(const Function &F) {
156 bool AddDiscriminators::runOnFunction(Function &F) {
174 for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I) {
/external/llvm/tools/bugpoint/
H A DMiscompilation.cpp177 class ReduceMiscompilingFunctions : public ListReducer<Function*> {
186 TestResult doTest(std::vector<Function*> &Prefix,
187 std::vector<Function*> &Suffix,
206 bool TestFuncs(const std::vector<Function*> &Prefix, std::string &Error);
247 bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs,
269 std::vector<Function*> FuncsOnClone;
271 Function *F = cast<Function>(VMap[Funcs[i]]);
308 std::vector<Function*> &MiscompiledFunctions,
345 MiscompiledFunctions[i] = cast<Function>(VMa
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILIntrinsicInfo.h40 Function *getDeclaration(Module *M, unsigned int ID,
H A DR600KernelParameters.cpp22 #include "llvm/Function.h"
65 bool IsOpenCLKernel(const Function *Fun);
71 void RunAna(Function *Fun);
72 void Replace(Function *Fun);
74 void Propagate(Function* Fun);
76 Value* ConstantRead(Function *Fun, Param &P);
77 Value* handleSpecial(Function *Fun, Param &P);
84 bool runOnFunction (Function &F);
96 bool R600KernelParameters::IsOpenCLKernel(const Function* Fun) {
97 Module *Mod = const_cast<Function*>(Fu
[all...]
/external/skia/experimental/SkV8Example/
H A DJsContext.cpp88 Local<Function> onDraw =
89 Local<Function>::New(fGlobal->getIsolate(), fOnDraw);
132 // It is a function; cast it to a Function.
133 Handle<Function> fn_fun = Handle<Function>::Cast(fn_val);
H A DJsContext.h53 Persistent<Function> fOnDraw;

Completed in 413 milliseconds

1234567891011>>