| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
| forin-002.js | 22 function MyObject( value ) { 24 this.valueOf = new Function ( "return this.value" ); 25 this.toString = new Function ( "return this.value + \"\"" ); 26 this.toNumber = new Function ( "return this.value + 0" ); 27 this.toBoolean = new Function ( "return Boolean( this.value )" ); 44 function ForIn_1( object) { 61 function ForIn_2(object) {
|
| /external/llvm/include/llvm/Analysis/ |
| BlockFrequencyInfo.h | 31 BlockFrequencyImpl<BasicBlock, Function, BranchProbabilityInfo> *BFI; 42 bool runOnFunction(Function &F);
|
| PathProfileInfo.h | 35 typedef std::map<Function*,unsigned int> FunctionPathCountMap; 36 typedef std::map<Function*,ProfilePathMap> FunctionPathMap; 37 typedef std::map<Function*,ProfilePathMap>::iterator FunctionPathIterator; 86 void setCurrentFunction(Function* F); 87 Function* getCurrentFunction() const; 106 Function* _currentFunction;
|
| /external/llvm/include/llvm/Transforms/Utils/ |
| Cloning.h | 30 class Function; 70 /// embedding the block into a particular function. The block returned is an 73 /// the basic block will be inserted into the same function that it was cloned 76 /// Also, note that this function makes a direct copy of the basic block, and 91 /// function, you can specify it as the optional fourth parameter. 94 /// function, you can specify a ClonedCodeInfo object with the optional fifth 99 const Twine &NameSuffix = "", Function *F = 0, 102 /// CloneFunction - Return a copy of the specified function, but without 103 /// embedding the function into another module. Also, any references specified 105 /// original one. If any of the arguments to the function are in the VMap [all...] |
| CodeExtractor.h | 10 // A utility to support extracting code from one function into its own 11 // stand-alone function. 24 class Function; 31 /// \brief Utility class for extracting code into a new function. 34 /// code into its own function, replacing it with a call to that function. It 41 /// function to arguments. 67 /// sequence out into its new function. When a DominatorTree is also given, 85 /// \brief Perform the extraction, returning the new function. 89 Function *extractCodeRegion() [all...] |
| /external/llvm/lib/Target/Mips/ |
| MipsJITInfo.h | 35 /// replaceMachineCodeForFunction - Make it so that calling the function 47 /// small native function that simply calls the function at the specified 49 virtual void *emitFunctionStub(const Function *F, void *Fn, 58 virtual void relocate(void *Function, MachineRelocation *MR, 61 /// Initialize - Initialize internal stage for the function being JITted.
|
| /external/llvm/lib/Target/PowerPC/ |
| PPCJITInfo.h | 34 virtual void *emitFunctionStub(const Function* F, void *Fn, 37 virtual void relocate(void *Function, MachineRelocation *MR, 40 /// replaceMachineCodeForFunction - Make it so that calling the function
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
| call-001.js | 22 * SUMMARY: Applying Function.prototype.call to the Function object itself 25 * ECMA-262 15.3.4.4 Function.prototype.call (thisArg [,arg1 [,arg2,?] ] ) 27 * When applied to the Function object itself, thisArg should be ignored. 30 * Function.call(obj, "print(this)") is equivalent to invoking 31 * Function("print(this)") with this set to obj. Now, Function("print(this)") 32 * is equivalent to new Function("print(this)") (see 15.3.1.1), and the latter 33 * ignores the this value that you passed it and constructs a function 45 var summary = 'Applying Function.prototype.call to the Function object itself' [all...] |
| /frameworks/compile/libbcc/include/bcc/AndroidBitcode/ |
| ABCExpandVAArgPass.h | 23 class Function; 53 virtual bool runOnFunction(llvm::Function &pFunc);
|
| /external/webkit/Source/WebCore/bindings/v8/ |
| V8EventListener.cpp | 44 v8::Local<v8::Function> V8EventListener::getListenerFunction(ScriptExecutionContext* context) 50 return v8::Local<v8::Function>(); 53 return v8::Local<v8::Function>::Cast(listener); 58 // handleEvent property and that the value is a function. 60 return v8::Local<v8::Function>::Cast(property); 63 return v8::Local<v8::Function>(); 69 v8::Local<v8::Function> handlerFunction = getListenerFunction(context);
|
| /external/v8/test/mjsunit/ |
| function.js | 28 var f = Function(); 30 f = new Function(); 33 f = Function('return 1'); 35 f = new Function('return 1'); 38 f = Function('return true'); 40 f = new Function('return true'); 43 f = Function('x', 'return x'); 50 f = Function('x', 'return x // comment'); 53 f = Function('return typeof anonymous'); 57 f = Function('return anonymous;') [all...] |
| /external/llvm/lib/Target/NVPTX/ |
| NVPTXUtilities.h | 17 #include "llvm/IR/Function.h" 47 bool getMaxNTIDx(const llvm::Function &, unsigned &); 48 bool getMaxNTIDy(const llvm::Function &, unsigned &); 49 bool getMaxNTIDz(const llvm::Function &, unsigned &); 51 bool getReqNTIDx(const llvm::Function &, unsigned &); 52 bool getReqNTIDy(const llvm::Function &, unsigned &); 53 bool getReqNTIDz(const llvm::Function &, unsigned &); 55 bool getMinCTASm(const llvm::Function &, unsigned &); 56 bool isKernelFunction(const llvm::Function &); 58 bool getAlign(const llvm::Function &, unsigned index, unsigned &) [all...] |
| /external/llvm/lib/ExecutionEngine/JIT/ |
| JIT.h | 23 class Function; 32 FunctionPassManager PM; // Passes to compile a function 36 /// were called from a function being code generated. 37 std::vector<AssertingVH<Function> > PendingFunctions; 47 std::vector<AssertingVH<Function> > &getPendingFunctions(const MutexGuard &L){ 115 /// runFunction - Start execution with the specified function and arguments. 117 virtual GenericValue runFunction(Function *F, 121 /// specified function by using the MemoryManager. As such it is only 124 /// If AbortOnFailure is false and no function with the given name is 125 /// found, this function silently returns a null pointer. Otherwise [all...] |
| JITDwarfEmitter.h | 23 class Function; 50 unsigned char* EmitCommonEHFrame(const Function* Personality) const; 52 unsigned char* EmitEHFrame(const Function* Personality,
|
| /external/llvm/include/llvm/ExecutionEngine/ |
| JITMemoryManager.h | 19 class Function; 73 /// startFunctionBody - When we start JITing a function, the JIT calls this 78 /// much space it will need to emit the function, it passes 0 for the 82 virtual uint8_t *startFunctionBody(const Function *F, 86 /// function stub (used to handle limited branch displacements) while it is 87 /// JIT compiling a function. For example, if foo calls bar, and if bar 88 /// either needs to be lazily compiled or is a native function that exists too 90 /// thunk for it. The stub should be "close" to the current function body, 97 /// the specified function. At this point we know the size of the JIT 98 /// compiled function. This passes in FunctionStart (which was returned b [all...] |
| /external/llvm/include/llvm/IR/ |
| Function.h | 1 //===-- llvm/Function.h - Class to represent a single function --*- C++ -*-===// 10 // This file contains the declaration of the Function class, which represents a 11 // single function/procedure in LLVM. 13 // A function basically consists of a list of basic blocks, a list of arguments, 35 : 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 [all...] |
| /external/llvm/unittests/ExecutionEngine/MCJIT/ |
| MCJITTestBase.h | 25 #include "llvm/IR/Function.h" 108 Function *startFunction(Module *M, StringRef Name) { 109 Function *Result = Function::Create( 119 void endFunctionWithRet(Function *Func, Value *RetValue) { 123 // Inserts a simple function that invokes Callee and takes the same arguments: 126 Function *insertSimpleCallFunction(Module *M, Function *Callee) { 127 Function *Result = startFunction<Signature>(M, "caller"); 131 Function::arg_iterator arg_iter = Result->arg_begin() [all...] |
| /external/llvm/examples/BrainF/ |
| BrainF.h | 37 /// and returns the module with a function 68 /// Put the brainf function preamble and other fixed pieces of code 81 Function *brainf_func; 82 Function *getchar_func; 83 Function *putchar_func;
|
| /external/llvm/examples/ModuleMaker/ |
| ModuleMaker.cpp | 29 // function 32 // Create the main function: first create the type 'int ()' 36 // By passing a module as the last parameter to the Function constructor, 38 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M); 40 // Add a basic block to the function... again, it automatically inserts
|
| /external/llvm/include/llvm/Target/ |
| TargetJITInfo.h | 25 class Function; 37 /// replaceMachineCodeForFunction - Make it so that calling the function 64 /// small native function that simply calls the function at the specified 66 /// stub. Return the address of the resultant function, which may have been 68 virtual void *emitFunctionStub(const Function* F, void *Target, 79 /// LazyResolverFn - This typedef is used to represent the function that 81 /// function that knows how to walk the stack and find out which stub the 85 /// JITCompilerFn - This typedef is used to represent the JIT function that 86 /// lazily compiles the function corresponding to a stub. The JIT keep [all...] |
| /external/llvm/lib/Transforms/Utils/ |
| InstructionNamer.cpp | 18 #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) {
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Expressions/ |
| instanceof-001.js | 21 function InstanceOf( object_1, object_2, expect ) { 31 function Gen3(value) { 34 this.toString = new Function ( "return \"(Gen\"+this.generation+\" instance)\"" ); 37 Gen3.__proto__.toString = new Function( "return \"(\"+this.name+\" object)\""); 39 function Gen2(value) { 46 function Gen1(value) { 53 function Gen0(value) { 61 function GenA(value) { 64 this.toString = new Function ( "return \"(instance of Gen\"+this.generation+\")\"" ); 70 function GenB(value) [all...] |
| /external/llvm/lib/Analysis/ |
| CFGPrinter.cpp | 11 // cfg.<fnname>.dot file for each function in the program, with a graph of the 12 // CFG for that function. 15 // Function::viewCFG method, which is useful for debugging passes which operate 31 virtual bool runOnFunction(Function &F) { 45 INITIALIZE_PASS(CFGViewer, "view-cfg", "View CFG of function", false, true) 54 virtual bool runOnFunction(Function &F) { 69 "View CFG of function (with no function bodies)", false, true) 78 virtual bool runOnFunction(Function &F) { 86 WriteGraph(File, (const Function*)&F) [all...] |
| Trace.cpp | 20 #include "llvm/IR/Function.h" 25 Function *Trace::getFunction() const { 36 Function *F = getFunction(); 37 O << "; Trace from function " << F->getName() << ", blocks:\n"; 43 O << "; Trace parent function: \n" << *F;
|
| /external/llvm/lib/Transforms/Hello/ |
| Hello.cpp | 17 #include "llvm/IR/Function.h" 30 virtual bool runOnFunction(Function &F) { 48 virtual bool runOnFunction(Function &F) {
|