| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
| 11.6.1-1.js | 72 function test() { 86 function getTestCases() { 188 function MyProtoValuelessObject() { 189 this.valueOf = new Function ( "" ); 193 function MyProtolessObject( value ) { 194 this.valueOf = new Function( "return this.value" ); 199 function MyValuelessObject(value) { 202 function MyPrototypeObject(value) { 203 this.valueOf = new Function( "return this.value;" ); 204 this.toString = new Function( "return (this.value + '');" ) [all...] |
| 11.6.1-2.js | 72 function test() { 85 function getTestCases() { 183 function MyProtoValuelessObject() { 184 this.valueOf = new Function ( "" ); 187 function MyProtolessObject( value ) { 188 this.valueOf = new Function( "return this.value" ); 192 function MyValuelessObject(value) { 195 function MyPrototypeObject(value) { 196 this.valueOf = new Function( "return this.value;" ); 197 this.toString = new Function( "return (this.value + '');" ) [all...] |
| 11.6.1-3.js | 71 function test() { 84 function getTestCases() { 161 function MyProtoValuelessObject() { 162 this.valueOf = new Function ( "" ); 165 function MyProtolessObject( value ) { 166 this.valueOf = new Function( "return this.value" ); 170 function MyValuelessObject(value) { 173 function MyPrototypeObject(value) { 174 this.valueOf = new Function( "return this.value;" ); 175 this.toString = new Function( "return (this.value + '');" ) [all...] |
| /external/llvm/lib/VMCore/ |
| DebugInfoProbe.cpp | 17 #include "llvm/Function.h" 47 void initialize(StringRef PName, Function &F); 48 void finalize(Function &F); 53 Function *TheFn; 63 void DebugInfoProbeImpl::initialize(StringRef PName, Function &F) { 71 for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI) 112 void DebugInfoProbeImpl::finalize(Function &F) { 114 assert (TheFn == &F && "Invalid function to measure!"); 117 for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI) 171 void DebugInfoProbe::initialize(StringRef PName, Function &F) [all...] |
| /external/llvm/include/llvm/ |
| BasicBlock.h | 77 Function *Parent; 79 void setParent(Function *parent); 80 friend class SymbolTableListTraits<BasicBlock, Function>; 85 /// BasicBlock ctor - If the function parameter is specified, the basic block 86 /// is automatically inserted at either the end of the function (if 90 Function *Parent = 0, BasicBlock *InsertBefore = 0); 101 /// function (if InsertBefore is 0), or before the specified basic block. 103 Function *Parent = 0,BasicBlock *InsertBefore = 0) { 110 const Function *getParent() const { return Parent; } 111 Function *getParent() { return Parent; [all...] |
| Pass.h | 21 // or delete functions, they operate on the internals of the function. 37 class Function; 109 /// null. This automatically forwards to a virtual function that does not 117 /// pass operates on (Module, Function or MachineFunction). 135 /// getAnalysisUsage - This function should be overriden by passes that need 137 /// particular analysis result to this function, it can then use the 138 /// getAnalysis<AnalysisType>() function, below. 150 /// Optionally implement this function to release pass memory when it is no 178 /// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to 189 /// mustPreserveAnalysisID - This method serves the same function a [all...] |
| /external/llvm/lib/Transforms/IPO/ |
| LoopExtractor.cpp | 1 //===- LoopExtractor.cpp - Extract each loop into a new function ----------===// 11 // top-level loop into its own new function. If the loop is the ONLY loop in a 12 // given function, it is not touched. This is a pass most useful for debugging 74 "Extract at most one loop into a new function", false, false) 77 // program into a function if it can. 93 // If there is more than one top-level loop in this function, extract all of 95 // this function is more than a minimal wrapper around the loop, extract 121 // function. An infinite cycle occurs when it tries to extract that loop as 137 // After extraction, the loop is replaced by a function call, so 148 // program into a function if it can. This is used by bugpoint [all...] |
| MergeFunctions.cpp | 12 // A hash is computed from the function, based on its type and number of 16 // on each function pair. This takes n^2/2 comparisons per bucket, so it's 17 // important that the hash function be high quality. The equality comparison 21 // overridable, we move the functionality into a new internal function and 30 // Many functions have their address taken by the virtual function table for 75 /// Creates a hash-code for the function which is the same for any two 77 /// inside the function. 78 static unsigned profileFunction(const Function *F) { 102 ComparableFunction(Function *Func, TargetData *TD) 105 Function *getFunc() const { return Func; [all...] |
| FunctionAttrs.cpp | 13 // it marks function arguments (of pointer type) 'nocapture' if a call 14 // to the function does not create any copies of the pointer value that 16 // dereferenced, and not returned from the function or stored in a global. 39 STATISTIC(NumNoAlias, "Number of function returns marked noalias"); 57 // IsFunctionMallocLike - Does this function allocate new memory? 58 bool IsFunctionMallocLike(Function *F, 59 SmallPtrSet<Function*, 8> &) const; 77 "Deduce function attributes", false, false) 80 "Deduce function attributes", false, false) 87 SmallPtrSet<Function*, 8> SCCNodes [all...] |
| Inliner.cpp | 71 /// This function also does some basic book-keeping to update the IR. The 79 Function *Callee = CS.getCalledFunction(); 80 Function *Caller = CS.getCaller(); 82 // Try to inline the function. Get the list of static allocas that were 87 // If the inlined function had a higher stack protection level than the 88 // calling function, then bump up the caller's stack protection level. 96 // have already inlined other allocas through other calls into this function, 153 // function. Also, AllocasForType can be empty of course! 158 // The available alloca has to be in the right function, not in some other 159 // function in this SCC [all...] |
| /external/llvm/lib/Transforms/Scalar/ |
| SimplifyCFGPass.cpp | 49 virtual bool runOnFunction(Function &F); 74 Function *TrapFn = 127 // If we found a call to a no-return function, insert an unreachable 176 static bool RemoveUnreachableBlocksFromFn(Function &F) { 189 for (Function::iterator BB = ++F.begin(), E = F.end(); BB != E; ++BB) { 199 for (Function::iterator I = ++F.begin(); I != F.end();) 210 static bool MergeEmptyReturnBlocks(Function &F) { 215 // Scan all the blocks in the function, looking for empty return blocks. 216 for (Function::iterator BBI = F.begin(), E = F.end(); BBI != E; ) { 284 /// IterativeSimplifyCFG - Call SimplifyCFG on all the blocks in the function, [all...] |
| /external/llvm/tools/llvm-diff/ |
| DiffConsumer.cpp | 22 static void ComputeNumbering(Function *F, DenseMap<Value*,unsigned> &Numbering){ 26 for (Function::arg_iterator 32 for (Function::iterator FI = F->begin(), FE = F->end(); FI != FE; ++FI) { 75 ComputeNumbering(cast<Function>(ctxt.L), ctxt.LNumbering); 80 ComputeNumbering(cast<Function>(ctxt.R), ctxt.RNumbering); 94 if (isa<Function>(I->L)) { 98 Function *L = cast<Function>(I->L); 99 Function *R = cast<Function>(I->R) [all...] |
| /external/llvm/unittests/ExecutionEngine/JIT/ |
| JITEventListenerTest.cpp | 34 const Function *F; 52 virtual void NotifyFunctionEmitted(const Function &F, 78 Function *buildFunction(Module *M) { 79 Function *Result = Function::Create( 92 Function *F1 = buildFunction(M); 93 Function *F2 = buildFunction(M); 108 << "We don't know how big the function will be, but it had better" 115 << "We don't know how big the function will be, but it had better" 133 Function *F1 = buildFunction(M) [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter3/ |
| toy.cpp | 116 /// CallExprAST - Expression class for function calls. 126 /// PrototypeAST - This class represents the "prototype" for a function, 128 /// of arguments the function takes). 136 Function *Codegen(); 139 /// FunctionAST - This class represents a function definition itself. 147 Function *Codegen(); 297 return ErrorP("Expected function name in prototype"); 359 // Look this variable up in the function. 384 Function *CalleeF = TheModule->getFunction(Callee); 386 return ErrorV("Unknown function referenced") [all...] |
| /external/llvm/include/llvm/ExecutionEngine/ |
| ExecutionEngine.h | 35 class Function; 147 /// LazyFunctionCreator - If an unknown function is needed, this function 153 /// register dwarf tables with this function. 158 DenseMap<const Function*, void*> AllExceptionTables; 195 /// function. 224 Function *FindFunctionNamed(const char *FnName); 226 /// runFunction - Execute the specified function with the specified arguments, 228 virtual GenericValue runFunction(Function *F, 244 /// runFunctionAsMain - This is a helper function which wraps runFunction t [all...] |
| /external/webkit/Source/WebCore/bindings/v8/ |
| ScriptDebugServer.cpp | 75 v8::Handle<v8::Function> setBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("setBreakpoint"))); 93 v8::Handle<v8::Function> removeBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("removeBreakpoint"))); 104 v8::Handle<v8::Function> clearBreakpoints = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("clearBreakpoints"))); 117 v8::Handle<v8::Function> setBreakpointsActivated = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("setBreakpointsActivated"))); 129 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("pauseOnExceptionsStat (…) local 190 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("stepIntoStatement"))); local 199 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("stepOverStatement"))); local 208 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("stepOutOfFunction"))); local 223 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("editScriptSource"))); local [all...] |
| /external/chromium/testing/gmock/include/gmock/ |
| gmock-actions.h | 53 // 2. a factory function that creates an Action object from a 69 // function will abort the process. 73 // This function returns true iff type T has a built-in default value. 77 "Default action undefined for the function return type."); 80 // order for this function to compile. 147 // When an unexpected function call is encountered, Google Mock will 155 // destructible (i.e. anything that can be used as a function return 248 // Implement this interface to define an action for function type F. 252 typedef typename internal::Function<F>::Result Result; 253 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple [all...] |
| /external/llvm/lib/CodeGen/ |
| GCMetadata.cpp | 19 #include "llvm/Function.h" 39 bool runOnFunction(Function &F); 51 bool runOnFunction(Function &F); 62 GCFunctionInfo::GCFunctionInfo(const Function &F, GCStrategy &S) 102 GCFunctionInfo &GCModuleInfo::getFunctionInfo(const Function &F) { 154 bool Printer::runOnFunction(Function &F) { 204 bool Deleter::runOnFunction(Function &MF) {
|
| /external/llvm/lib/Transforms/Utils/ |
| CloneModule.cpp | 64 Function *NF = 65 Function::Create(cast<FunctionType>(I->getType()->getElementType()), 91 // Similarly, copy over function bodies now... 94 Function *F = cast<Function>(VMap[I]); 96 Function::arg_iterator DestI = F->arg_begin(); 97 for (Function::const_arg_iterator J = I->arg_begin(); J != I->arg_end();
|
| LowerExpectIntrinsic.cpp | 16 #include "llvm/Function.h" 54 bool runOnFunction(Function &F); 64 Function *Fn = CI->getCalledFunction(); 111 Function *Fn = CI->getCalledFunction(); 140 bool LowerExpectIntrinsic::runOnFunction(Function &F) { 141 for (Function::iterator I = F.begin(), E = F.end(); I != E;) { 160 Function *Fn = CI->getCalledFunction();
|
| /external/apache-xml/src/main/java/org/apache/xpath/axes/ |
| HasPositionalPredChecker.java | 28 import org.apache.xpath.functions.Function; 58 * Visit a function. 61 * @param func The function reference object. 64 public boolean visitFunction(ExpressionOwner owner, Function func) 110 (pred instanceof Function))
|
| /external/llvm/lib/Transforms/Instrumentation/ |
| EdgeProfiling.cpp | 55 Function *Main = M.getFunction("main"); 58 << " with no main function!\n"; 68 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) { 89 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
|
| /external/llvm/tools/opt/ |
| PrintSCC.cpp | 40 bool runOnFunction(Function& func); 68 Y("print-cfg-sccs", "Print SCCs of each function CFG"); 74 bool CFGSCC::runOnFunction(Function &F) { 76 errs() << "SCCs for Function " << F.getName() << " in PostOrder:"; 77 for (scc_iterator<Function*> SCCI = scc_begin(&F),
|
| /external/llvm/unittests/Support/ |
| IRBuilderTest.cpp | 12 #include "llvm/Function.h" 28 Function *F = Function::Create(FTy, Function::ExternalLinkage, "", M.get());
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
| 15.3.1.1-1.js | 24 ECMA Section: 15.3.1.1 The Function Constructor Called as a Function 27 When the Function function is called with some arguments p1, p2, . . . , pn, body 31 1. Create and return a new Function object exactly if the function constructor had 41 var TITLE = "The Function Constructor Called as a Function"; 45 var MyObject = Function( "value", "this.value = value; this.valueOf = Function( 'return this.value' ); this.toString = Function( 'return String(this.value);' )" ) [all...] |