| /external/llvm/tools/llvm-prof/ |
| llvm-prof.cpp | 82 virtual void emitFunctionAnnot(const Function *F, 150 std::map<const Function *, unsigned> FuncFreqs; 157 // Emit the most frequent function table... 158 std::vector<std::pair<Function*, double> > FunctionCounts; 164 for (Function::iterator BB = FI->begin(), BBE = FI->end(); 173 PairSecondSortReverse<Function*>()); 191 outs() << "Function execution frequencies:\n\n"; 193 // Print out the function frequencies... 197 outs() << "\n NOTE: " << e-i << " function" 208 std::set<Function*> FunctionsToPrint [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-603.js | 28 // Calling non-objects directly or via Function.prototype.call should 32 function test0() { 39 re1.call = Function.prototype.call; 44 var test2 = Function.prototype.call.call(re2, null, 'abcdefghijklm') + 'z'; 48 var test3 = Function.prototype.call.apply(re3, [null, 'abcdefghijklm']) + 'z';
|
| /external/webkit/LayoutTests/fast/js/resources/ |
| js-constructors-use-correct-global.js | 4 var constructors = ["Object", "Function", "Array", "Number", "String", "Boolean", "RegExp", "Date", "Error", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Image"]; 9 if ((typeof (otherGlobal[constructors[i]]())) === "object" || (typeof (otherGlobal[constructors[i]]())) === "function")
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/NativeObjects/ |
| 15-1.js | 32 function also has the Object prototype object as the 49 function getTestCases() { 53 array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ ); 64 array[item++] = new TestCase( SECTION, "Function.prototype.__proto__ == Object.prototype", true, Function.prototype.__proto__ == Object.prototype ); 78 function test() { 92 function MyObject( value ) { 94 this.valueOf = new Function( "return this.value" );
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
| 15.2.4.2.js | 48 function getTestCases() { 59 "[object Function]", 78 array[item++] = new TestCase( SECTION, "myvar = new Function(); myvar.toString = Object.prototype.toString; myvar.toString()", 79 "[object Function]", 80 eval("myvar = new Function(); myvar.toString = Object.prototype.toString; myvar.toString()") ); 112 function test( array ) { 125 function MyObject( value ) { 126 this.value = new Function( "return this.value" ); 127 this.toString = new Function ( "return this.value+''");
|
| /libcore/luni/src/test/java/libcore/sqlite/ |
| OldFunctionContextTest.java | 21 import SQLite.Function; 199 class TestFCError implements Function { 203 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.TestFCError 212 class TestFCCount implements Function { 216 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.TestFCCount 226 class TestFCZeroBlob implements Function { 230 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.TestFCZeroBlob 239 class TestFCString implements Function { 243 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.TestFCString 253 class TestFCInt implements Function { 257 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.TestFCInt 271 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.TestFCByteArray 285 public void function(FunctionContext fc, String args[]) { method in class:OldFunctionContextTest.SinFunc [all...] |
| /external/llvm/lib/Bitcode/Reader/ |
| BitcodeReader.h | 147 /// FunctionBBs - While parsing a function body, this is a list of the basic 148 /// blocks for the function. 153 std::vector<Function*> FunctionsWithBodies; 156 // stored here with their replacement function. 157 typedef std::vector<std::pair<Function*, Function*> > UpgradedIntrinsicMap; 167 /// DeferredFunctionInfo - When function bodies are initially scanned, this 168 /// map contains info about where to find deferred function body in the 170 DenseMap<Function*, uint64_t> DeferredFunctionInfo; 175 DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs [all...] |
| /external/llvm/lib/Transforms/Utils/ |
| CodeExtractor.cpp | 1 //===- CodeExtractor.cpp - Pull code region into a new function -----------===// 11 // individual loop or a parallel section, into a new function, replacing it with 12 // a call to the new function. 38 // Provide a command-line option to aggregate function arguments into a struct 58 Function *ExtractCodeRegion(ArrayRef<BasicBlock*> code); 73 /// function being code extracted, but not in the region being extracted. 74 /// These values must be passed in as live-ins to the function. 87 Function *constructFunction(const Values &inputs, 91 Function *oldFunction, Module *M); 93 void moveCodeToFunction(Function *newFunction) [all...] |
| /external/llvm/lib/VMCore/ |
| AutoUpgrade.cpp | 16 #include "llvm/Function.h" 32 static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) { 33 assert(F && "Illegal to upgrade a non-existent Function."); 73 NewFn = cast<Function>(M->getOrInsertFunction( 96 // and typed function below. 99 NewFn = cast<Function>(M->getOrInsertFunction(NameTmp, 144 // This may not belong here. This function is effectively being overloaded 151 bool llvm::UpgradeIntrinsicFunction(Function *F, Function *&NewFn) [all...] |
| BasicBlock.cpp | 28 if (Function *F = getParent()) 42 BasicBlock::BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent, 46 // Make sure that we get added to a function 51 "Cannot insert block before another block with no function!"); 85 void BasicBlock::setParent(Function *parent) { 104 /// moveBefore - Unlink this basic block from its current function and 105 /// insert it into the function that MovePos lives in, right before MovePos. 111 /// moveAfter - Unlink this basic block from its current function and 112 /// insert it into the function that MovePos lives in, right after MovePos. 114 Function::iterator I = MovePos [all...] |
| /external/webkit/Source/WebCore/bindings/v8/ |
| ScriptFunctionCall.cpp | 128 v8::Local<v8::Function> function(v8::Function::Cast(*value)); 133 v8::Local<v8::Value> result = function->Call(thisObject, m_arguments.size(), args.get()); 161 v8::Local<v8::Function> constructor(v8::Function::Cast(*value)); 175 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function) 177 , m_function(function) 194 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(m_function.v8Value()) local [all...] |
| /frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
| BitcodeReader.h | 152 /// FunctionBBs - While parsing a function body, this is a list of the basic 153 /// blocks for the function. 158 std::vector<Function*> FunctionsWithBodies; 161 // stored here with their replacement function. 162 typedef std::vector<std::pair<Function*, Function*> > UpgradedIntrinsicMap; 172 /// DeferredFunctionInfo - When function bodies are initially scanned, this 173 /// map contains info about where to find deferred function body in the 175 DenseMap<Function*, uint64_t> DeferredFunctionInfo; 180 DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter5/ |
| toy.cpp | 132 /// CallExprAST - Expression class for function calls. 162 /// PrototypeAST - This class represents the "prototype" for a function, 164 /// of arguments the function takes). 172 Function *Codegen(); 175 /// FunctionAST - This class represents a function definition itself. 183 Function *Codegen(); 405 return ErrorP("Expected function name in prototype"); 468 // Look this variable up in the function. 493 Function *CalleeF = TheModule->getFunction(Callee); 495 return ErrorV("Unknown function referenced") [all...] |
| /external/v8/test/cctest/ |
| test-debug.cc | 68 // Helper function used by the CHECK_EQ function when given Address 83 // Helper function used by the CHECK_NE function when given Address 97 // Helper function used by the CHECK function when given code 168 // Compile and run the supplied source and return the fequested function. 169 static v8::Local<v8::Function> CompileFunction(DebugLocalContext* env, 173 return v8::Local<v8::Function>::Cast( 178 // Compile and run the supplied source and return the requested function [all...] |
| /external/llvm/lib/ExecutionEngine/Interpreter/ |
| ExternalFunctions.cpp | 18 // invoke the function using libffi, after finding its address. 53 static ManagedStatic<std::map<const Function *, ExFunc> > ExportedFunctions; 58 static ManagedStatic<std::map<const Function *, RawFunc> > RawFunctions; 85 // Try to find address of external function given a Function object. 90 static ExFunc lookupFunction(const Function *F) { 91 // Function not found, look it up... start by figuring out what the 92 // composite function name should be. 103 if (FnPtr == 0) // Try calling a generic function... if it exists... 180 static bool ffiInvoke(RawFunc Fn, Function *F [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter7/ |
| toy.cpp | 152 /// CallExprAST - Expression class for function calls. 194 /// PrototypeAST - This class represents the "prototype" for a function, 216 Function *Codegen(); 218 void CreateArgumentAllocas(Function *F); 221 /// FunctionAST - This class represents a function definition itself. 229 Function *Codegen(); 522 return ErrorP("Expected function name in prototype"); 614 /// the function. This is used for mutable variables etc. 615 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, 628 // Look this variable up in the function [all...] |
| /external/llvm/lib/ExecutionEngine/JIT/ |
| JIT.cpp | 18 #include "llvm/Function.h" 41 // to the function. 79 // libgcc defines the __register_frame function to dynamically register new 82 // function here so that code generated by the JIT cooperates with the unwinding 86 // The __register_frame function works with Linux. 161 /// libgcc,we provide our own function, which "tricks" libgcc by modifying the 229 /// bugpoint or gdb users to search for a function by name without any context. 245 //search function in every instance of JIT 249 if (Function *F = (*Jit)->FindFunctionNamed(Name)) 252 // The function is not available : fallback on the first created (wil [all...] |
| /external/llvm/lib/Transforms/Scalar/ |
| SimplifyLibCalls.cpp | 11 // optimizations for calls to specific well-known function calls (e.g. runtime 13 // "replace call to library function with simpler code that provides the same 50 Function *Caller; 63 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) 135 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { 136 // Verify the "strcat" function prototype. 185 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { 186 // Verify the "strncat" function prototype. 233 virtual Value *CallOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { 234 // Verify the "strchr" function prototype [all...] |
| /external/clang/lib/CodeGen/ |
| CodeGenModule.cpp | 148 if (llvm::Function *ObjCInitFunction = ObjCRuntime->ModuleInitFunction()) 291 // If there's a key function, there may be translation units 292 // that don't have the key function's definition. But ignore 360 /// AddGlobalCtor - Add a function to the list that will be called before 362 void CodeGenModule::AddGlobalCtor(llvm::Function * Ctor, int Priority) { 367 /// AddGlobalDtor - Add a function to the list that will be called 369 void CodeGenModule::AddGlobalDtor(llvm::Function * Dtor, int Priority) { 375 // Ctor function type is void()*. 408 return llvm::Function::InternalLinkage; 411 return llvm::Function::DLLExportLinkage [all...] |
| CGObjCRuntime.h | 27 class Function; 89 /// Emits a try / catch statement. This function is intended to be called by 92 /// call when entering and exiting a @catch() block, and the function used to 94 /// the function assumes that the EH personality function provides the 103 /// function can be called by subclasses that use zero-cost exception 107 llvm::Function *syncEnterFn, 108 llvm::Function *syncExitFn); 113 /// Generate the function required to register all Objective-C components in 115 virtual llvm::Function *ModuleInitFunction() = 0 [all...] |
| /external/llvm/lib/CodeGen/ |
| DwarfEHPrepare.cpp | 16 #include "llvm/Function.h" 42 Function *ExceptionValueIntrinsic; 45 Function *SelectorIntrinsic; 59 // The function we are running on. 60 Function *F; 62 // The landing pads for this function. 85 /// FindAllURoRInvokes - Find all URoR invokes in the function. 90 /// a landing pad within the current function. This is a candidate to merge 111 virtual bool runOnFunction(Function &Fn); 161 /// FindAllURoRInvokes - Find all URoR invokes in the function [all...] |
| /development/tools/glesv2debugger/test/com/android/glesv2debugger/ |
| MessageQueueTest.java | 24 import com.android.glesv2debugger.DebuggerMessage.Message.Function; 63 builder.setFunction(Function.glFinish); 100 builder.setFunction(Function.glFinish); 126 builder.setFunction(Function.glClear).setArg0(contextId0); 134 builder.setFunction(Function.glDisable).setArg0(contextId1);
|
| /external/llvm/include/llvm/Analysis/ |
| IntervalIterator.h | 14 // 1. A Function* object, composed of BasicBlock nodes. 23 // passing a false value into the intervals_begin() function. This causes the 37 #include "llvm/Function.h" 56 inline BasicBlock *getSourceGraphNode(Function *, BasicBlock *BB) { 101 IntervalIterator(Function *M, bool OwnMemory) : IOwnMem(OwnMemory) { 235 typedef IntervalIterator<BasicBlock, Function> function_interval_iterator; 240 inline function_interval_iterator intervals_begin(Function *F, 244 inline function_interval_iterator intervals_end(Function *) {
|
| /external/llvm/lib/ExecutionEngine/ |
| ExecutionEngineBindings.cpp | 185 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP); 197 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec); 202 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F)); 232 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) { 240 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn));
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gldebugger/ |
| MessageQueueTest.java | 26 import com.android.ide.eclipse.gldebugger.DebuggerMessage.Message.Function; 65 builder.setFunction(Function.glFinish); 102 builder.setFunction(Function.glFinish); 128 builder.setFunction(Function.glClear).setArg0(contextId0); 136 builder.setFunction(Function.glDisable).setArg0(contextId1);
|