Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 761) sorted by relevance

12345678910>>...31

/external/valgrind/main/none/tests/ppc32/
DtestVMX.stdout.exp3 Function vec_abs [type char] ===> OK
4 Function vec_abs [type short] ===> OK
5 Function vec_abs [type integer] ===> OK
8 Function vec_abss [type char] ===> OK
9 Function vec_abss [type short] ===> OK
10 Function vec_abss [type integer] ===> OK
13 Function vec_add [type char] ===> OK
14 Function vec_add [type unsigned char] ===> OK
15 Function vec_add [type short] ===> OK
16 Function vec_add [type unsigned short] ===> OK
[all …]
/external/llvm/lib/VMCore/
DFunction.cpp34 template class llvm::SymbolTableListTraits<Argument, Function>;
35 template class llvm::SymbolTableListTraits<BasicBlock, Function>;
41 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) in Argument()
53 void Argument::setParent(Function *parent) { in setParent()
64 const Function *F = getParent(); in getArgNo()
67 Function::const_arg_iterator AI = F->arg_begin(); in getArgNo()
133 LLVMContext &Function::getContext() const { in getContext()
137 FunctionType *Function::getFunctionType() const { in getFunctionType()
141 bool Function::isVarArg() const { in isVarArg()
145 Type *Function::getReturnType() const { in getReturnType()
[all …]
DAutoUpgrade.cpp28 static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { in UpgradeIntrinsicFunction1()
58 NewFn = cast<Function>(M->getOrInsertFunction(NameTmp, in UpgradeIntrinsicFunction1()
110 bool llvm::UpgradeIntrinsicFunction(Function *F, Function *&NewFn) { in UpgradeIntrinsicFunction()
130 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) { in UpgradeIntrinsicCall()
131 Function *F = CI->getCalledFunction(); in UpgradeIntrinsicCall()
221 void llvm::UpgradeCallsToIntrinsic(Function* F) { in UpgradeCallsToIntrinsic()
225 Function *NewFn; in UpgradeCallsToIntrinsic()
244 if (Function *FuncStart = M->getFunction("llvm.dbg.func.start")) { in CheckDebugInfoIntrinsics()
250 if (Function *StopPoint = M->getFunction("llvm.dbg.stoppoint")) { in CheckDebugInfoIntrinsics()
256 if (Function *RegionStart = M->getFunction("llvm.dbg.region.start")) { in CheckDebugInfoIntrinsics()
[all …]
/external/llvm/include/llvm/Analysis/
DInlineCost.h27 class Function; variable
116 void analyzeFunction(Function *F);
125 ValueMap<const Function *, FunctionInfo> CachedFunctionInfo;
129 int getInlineSize(CallSite CS, Function *Callee);
130 int getInlineBonuses(CallSite CS, Function *Callee);
137 SmallPtrSet<const Function *, 16> &NeverInline);
144 Function *Callee,
145 SmallPtrSet<const Function *, 16> &NeverInline);
150 int getSpecializationBonus(Function *Callee,
156 InlineCost getSpecializationCost(Function *Callee,
[all …]
DCallGraph.h65 class Function; variable
76 typedef std::map<const Function *, CallGraphNode *> FunctionMapTy;
98 inline const CallGraphNode *operator[](const Function *F) const {
103 inline CallGraphNode *operator[](const Function *F) {
131 Function *removeFunctionFromModule(CallGraphNode *CGN);
132 Function *removeFunctionFromModule(Function *F) { in removeFunctionFromModule()
139 CallGraphNode *getOrInsertFunction(const Function *F);
146 void spliceFunction(const Function *From, const Function *To);
175 AssertingVH<Function> F;
198 inline CallGraphNode(Function *f) : F(f), NumReferences(0) {} in CallGraphNode()
[all …]
/external/llvm/unittests/ExecutionEngine/JIT/
DJITTest.cpp39 Function *makeReturnGlobal(std::string Name, GlobalVariable *G, Module *M) { in makeReturnGlobal()
43 Function *F = Function::Create(FTy, GlobalValue::ExternalLinkage, Name, M); in makeReturnGlobal()
54 std::string DumpFunction(const Function *F) { in DumpFunction()
74 StartFunctionBodyCall(uint8_t *Result, const Function *F, in StartFunctionBodyCall()
79 const Function *F;
85 virtual uint8_t *startFunctionBody(const Function *F, in startFunctionBody()
100 EndFunctionBodyCall(const Function *F, uint8_t *FunctionStart, in EndFunctionBodyCall()
104 const Function *F;
110 virtual void endFunctionBody(const Function *F, uint8_t *FunctionStart, in endFunctionBody()
141 StartExceptionTableCall(uint8_t *Result, const Function *F, in StartExceptionTableCall()
[all …]
DMultiJITTest.cpp34 void createModule1(LLVMContext &Context1, Module *&M1, Function *&FooF1) { in createModule1()
51 void createModule2(LLVMContext &Context2, Module *&M2, Function *&FooF2) { in createModule2()
71 Function *FooF1 = 0; in TEST()
76 Function *FooF2 = 0; in TEST()
101 Function *FooF1 = 0; in TEST()
106 Function *FooF2 = 0; in TEST()
135 Function *FooF1 = 0; in TEST()
140 Function *FooF2 = 0; in TEST()
147 Function *F1 = EE1->FindFunctionNamed("foo1"); in TEST()
150 Function *F2 = EE2->FindFunctionNamed("foo2"); in TEST()
/external/guava/src/com/google/common/base/
DFunctions.java48 public static Function<Object, String> toStringFunction() { in toStringFunction()
53 private enum ToStringFunction implements Function<Object, String> {
69 public static <E> Function<E, E> identity() { in identity()
70 return (Function<E, E>) IdentityFunction.INSTANCE; in identity()
74 private enum IdentityFunction implements Function<Object, Object> {
91 public static <K, V> Function<K, V> forMap(Map<K, V> map) { in forMap()
96 implements Function<K, V>, Serializable {
134 public static <K, V> Function<K, V> forMap( in forMap()
140 implements Function<K, V>, Serializable {
180 public static <A, B, C> Function<A, C> compose( in compose()
[all …]
/external/llvm/include/llvm/
DFunction.h35 : public SymbolTableListTraits<BasicBlock, Function> {
48 static ValueSymbolTable *getSymTab(Function *ItemParent);
54 : public SymbolTableListTraits<Argument, Function> {
65 static ValueSymbolTable *getSymTab(Function *ItemParent);
70 class Function : public GlobalValue,
71 public ilist_node<Function> {
96 friend class SymbolTableListTraits<Function, Module>;
113 Function(const Function&); // DO NOT IMPLEMENT
114 void operator=(const Function&); // DO NOT IMPLEMENT
120 Function(FunctionType *Ty, LinkageTypes Linkage,
[all …]
DArgument.h33 Function *Parent;
35 friend class SymbolTableListTraits<Argument, Function>;
36 void setParent(Function *parent);
42 explicit Argument(Type *Ty, const Twine &Name = "", Function *F = 0);
44 inline const Function *getParent() const { return Parent; } in getParent()
45 inline Function *getParent() { return Parent; } in getParent()
DModule.h36 template<> struct ilist_traits<Function>
37 : public SymbolTableListTraits<Function, Module> {
41 Function *createSentinel() const {
42 return static_cast<Function*>(&Sentinel);
44 static void destroySentinel(Function*) {}
46 Function *provideInitialHead() const { return createSentinel(); }
47 Function *ensureHead(Function*) const { return createSentinel(); }
48 static void noteHead(Function*, Function*) {}
51 mutable ilist_node<Function> Sentinel;
102 typedef iplist<Function> FunctionListType;
[all …]
DAutoUpgrade.h20 class Function; variable
27 bool UpgradeIntrinsicFunction(Function *F, Function *&NewFn);
31 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
37 void UpgradeCallsToIntrinsic(Function* F);
/external/llvm/lib/ExecutionEngine/JIT/
DJIT.h23 class Function; variable
37 std::vector<AssertingVH<Function> > PendingFunctions;
47 std::vector<AssertingVH<Function> > &getPendingFunctions(const MutexGuard &L){ in getPendingFunctions()
117 virtual GenericValue runFunction(Function *F,
139 void *getPointerToFunction(Function *F);
160 void *getPointerToFunctionOrStub(Function *F);
168 void *recompileAndRelinkFunction(Function *F);
173 void freeMachineCodeForFunction(Function *F);
179 void addPendingFunction(Function *F);
193 void runJITOnFunction(Function *F, MachineCodeInfo *MCI = 0);
[all …]
/external/llvm/lib/Transforms/Utils/
DBasicInliner.cpp47 void addFunction(Function *F) { in addFunction()
53 void neverInlineFunction(Function *F) { in neverInlineFunction()
64 std::vector<Function *> Functions;
65 SmallPtrSet<const Function *, 16> NeverInline;
66 SmallPtrSet<Function *, 8> DeadFunctions;
80 for (std::vector<Function *>::iterator FI = Functions.begin(), in inlineFunctions()
82 Function *F = *FI; in inlineFunctions()
83 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) in inlineFunctions()
101 if (Function *Callee = CS.getCalledFunction()) { in inlineFunctions()
146 for(SmallPtrSet<Function *, 8>::iterator I = DeadFunctions.begin(), in inlineFunctions()
[all …]
DBuildLibCalls.cpp46 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in EmitStrLen()
67 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in EmitStrChr()
91 if (const Function *F = dyn_cast<Function>(StrNCmp->stripPointerCasts())) in EmitStrNCmp()
110 if (const Function *F = dyn_cast<Function>(StrCpy->stripPointerCasts())) in EmitStrCpy()
129 if (const Function *F = dyn_cast<Function>(StrNCpy->stripPointerCasts())) in EmitStrNCpy()
153 if (const Function *F = dyn_cast<Function>(MemCpy->stripPointerCasts())) in EmitMemCpyChk()
174 if (const Function *F = dyn_cast<Function>(MemChr->stripPointerCasts())) in EmitMemChr()
199 if (const Function *F = dyn_cast<Function>(MemCmp->stripPointerCasts())) in EmitMemCmp()
230 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) in EmitUnaryFloatFnCall()
249 if (const Function *F = dyn_cast<Function>(PutChar->stripPointerCasts())) in EmitPutChar()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h30 class Function; variable
107 const Twine &NameSuffix = "", Function *F = 0,
122 Function *CloneFunction(const Function *F,
129 inline Function *CloneFunction(const Function *F, ClonedCodeInfo *CodeInfo = 0){
143 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
161 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
/external/webkit/Source/WebCore/xml/
DXPathFunctions.cpp51 #define DEFINE_FUNCTION_CREATOR(Class) static Function* create##Class() { return new Class; }
69 typedef Function *(*FactoryFn)();
76 class FunLast : public Function {
83 class FunPosition : public Function {
90 class FunCount : public Function {
95 class FunId : public Function {
100 class FunLocalName : public Function {
107 class FunNamespaceURI : public Function {
114 class FunName : public Function {
121 class FunString : public Function {
[all …]
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp78 static unsigned profileFunction(const Function *F) { in profileFunction()
102 ComparableFunction(Function *Func, TargetData *TD) in ComparableFunction()
105 Function *getFunc() const { return Func; } in getFunc()
121 AssertingVH<Function> Func;
158 FunctionComparator(const TargetData *TD, const Function *F1, in FunctionComparator()
159 const Function *F2) in FunctionComparator()
191 const Function *F1, *F2;
492 for (Function::const_arg_iterator f1i = F1->arg_begin(), in compare()
561 void remove(Function *F);
569 void replaceDirectCallers(Function *Old, Function *New);
[all …]
DPartialInlining.cpp40 Function* unswitchFunction(Function* F);
50 Function* PartialInliner::unswitchFunction(Function* F) { in unswitchFunction()
73 Function* duplicateFunction = CloneFunction(F, VMap, in unswitchFunction()
114 for (Function::iterator FI = duplicateFunction->begin(), in unswitchFunction()
125 Function* extractedFunction = ExtractCodeRegion(DT, toExtract); in unswitchFunction()
150 std::vector<Function*> worklist; in runOnModule()
158 Function* currFunc = worklist.back(); in runOnModule()
164 for (Function::use_iterator UI = currFunc->use_begin(), in runOnModule()
174 if (Function* newFunc = unswitchFunction(currFunc)) { in runOnModule()
DLowerSetJmp.cpp82 std::map<Function*, AllocaInst*> SJMap;
87 std::map<const Function*, BasicBlock*> RethrowBBMap;
91 std::map<const Function*, BasicBlock*> PrelimBBMap;
97 std::map<const Function*, SwitchValuePair> SwitchValMap;
100 std::map<const Function*, unsigned> SetJmpIDMap;
102 AllocaInst* GetSetJmpMap(Function* Func);
103 BasicBlock* GetRethrowBB(Function* Func);
104 SwitchValuePair GetSJSwitch(Function* Func, BasicBlock* Rethrow);
136 Function* SetJmp = M.getFunction("llvm.setjmp"); in runOnModule()
137 Function* LongJmp = M.getFunction("llvm.longjmp"); in runOnModule()
[all …]
/external/chromium/base/
Dtask.h444 template <class Function, class Params>
447 RunnableFunction(Function function, const Params& params) in RunnableFunction()
466 Function function_;
470 template <class Function>
471 inline CancelableTask* NewRunnableFunction(Function function) { in NewRunnableFunction()
472 return new RunnableFunction<Function, Tuple0>(function, MakeTuple()); in NewRunnableFunction()
475 template <class Function, class A>
476 inline CancelableTask* NewRunnableFunction(Function function, const A& a) { in NewRunnableFunction()
477 return new RunnableFunction<Function, Tuple1<A> >(function, MakeTuple(a)); in NewRunnableFunction()
480 template <class Function, class A, class B>
[all …]
/external/llvm/lib/Analysis/
DCFGPrinter.cpp32 virtual bool runOnFunction(Function &F) { in runOnFunction()
55 virtual bool runOnFunction(Function &F) { in runOnFunction()
79 virtual bool runOnFunction(Function &F) { in runOnFunction()
87 WriteGraph(File, (const Function*)&F); in runOnFunction()
113 virtual bool runOnFunction(Function &F) { in runOnFunction()
121 WriteGraph(File, (const Function*)&F, true); in runOnFunction()
145 void Function::viewCFG() const { in viewCFG()
154 void Function::viewCFGOnly() const { in viewCFGOnly()
/external/webkit/Source/WebCore/bindings/v8/
DScriptDebugServer.cpp75 …v8::Handle<v8::Function> setBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.ge… in setBreakpoint()
93 …v8::Handle<v8::Function> removeBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript… in removeBreakpoint()
104 …v8::Handle<v8::Function> clearBreakpoints = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->… in clearBreakpoints()
117 …v8::Handle<v8::Function> setBreakpointsActivated = v8::Local<v8::Function>::Cast(m_debuggerScript.… in setBreakpointsActivated()
129 …v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::… in pauseOnExceptionsState()
141 …v8::Handle<v8::Function> setPauseOnExceptionsFunction = v8::Local<v8::Function>::Cast(m_debuggerSc… in setPauseOnExceptionsState()
174 …v8::Handle<v8::Function> breakProgramFunction = m_breakProgramCallbackTemplate.get()->GetFunction(… in breakProgram()
190 …v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::… in stepIntoStatement()
199 …v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::… in stepOverStatement()
208 …v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::… in stepOutOfFunction()
[all …]
/external/llvm/include/llvm/Support/
DInstIterator.h121 Function::iterator, BasicBlock::iterator,
124 Function::const_iterator,
128 inline inst_iterator inst_begin(Function *F) { return inst_iterator(*F); } in inst_begin()
129 inline inst_iterator inst_end(Function *F) { return inst_iterator(*F, true); } in inst_end()
130 inline const_inst_iterator inst_begin(const Function *F) { in inst_begin()
133 inline const_inst_iterator inst_end(const Function *F) { in inst_end()
136 inline inst_iterator inst_begin(Function &F) { return inst_iterator(F); } in inst_begin()
137 inline inst_iterator inst_end(Function &F) { return inst_iterator(F, true); } in inst_end()
138 inline const_inst_iterator inst_begin(const Function &F) { in inst_begin()
141 inline const_inst_iterator inst_end(const Function &F) { in inst_end()
/external/guava/src/com/google/common/util/concurrent/
DFutures.java19 import com.google.common.base.Function;
137 Future<T> future, Function<Exception, E> mapper) {
165 return Futures.makeChecked(future, new Function<Exception, E>() {
207 new Function<Exception, E>() {
235 Function<? super I, ? extends ListenableFuture<? extends O>> function) {
258 Function<? super I, ? extends ListenableFuture<? extends O>> function,
282 final Function<? super I, ? extends O> function) {
309 final Function<? super I, ? extends O> function, Executor exec) {
310 Function<I, ListenableFuture<O>> wrapperFunction
311 = new Function<I, ListenableFuture<O>>() {
[all …]

12345678910>>...31