| /external/llvm/lib/CodeGen/ |
| ShadowStackGC.cpp | 51 /// Roots - GC roots in the current function. Each is a pair of the 59 bool performCustomLowering(Function &F); 63 Constant *GetFrameMap(Function &F); 64 Type* GetConcreteStackEntryType(Function &F); 65 void CollectRoots(Function &F); 81 /// from a function so that "finally"-style code can be inserted. In addition 89 Function &F; 94 Function::iterator StateBB, StateE; 98 EscapeEnumerator(Function &F, const char *N = "cleanup") 131 for (Function::iterator BB = F.begin() [all...] |
| StackProtector.cpp | 23 #include "llvm/Function.h" 46 Function *F; 52 /// the function. 63 /// RequiresStackProtector - Check whether or not this function needs a 80 virtual bool runOnFunction(Function &Fn); 92 bool StackProtector::runOnFunction(Function &Fn) { 102 /// RequiresStackProtector - Check whether or not this function needs a stack 115 for (Function::iterator I = F->begin(), E = F->end(); I != E; ++I) { 143 /// function. 154 for (Function::iterator I = F->begin(), E = F->end(); I != E; ) [all...] |
| /external/llvm/lib/Transforms/Scalar/ |
| TailRecursionElimination.cpp | 10 // This file transforms calls of the current function (self recursion) followed 11 // by a return instruction with a branch to the entry of the function, creating 22 // 3. TRE is performed if the function returns void, if the return 23 // returns the result returned by the call, or if the function returns a 24 // run-time constant on all exits from the function. It is possible, though 27 // the function return the exact same value. 34 // 1. If the function has any alloca instructions, these instructions will be 35 // moved out of the entry block of the function, causing them to be 38 // function does not read or write the stack object. 59 #include "llvm/Function.h [all...] |
| /external/llvm/tools/bugpoint/ |
| ExtractFunction.cpp | 1 //===- ExtractFunction.cpp - Extract a function from Program --------------===// 63 const Function *PF = PBB->getParent(); 69 Function::iterator RBI = RFI->begin(); // Get iterator to corresponding BB 70 std::advance(RBI, std::distance(PF->begin(), Function::const_iterator(PBB))); 130 /// function. This returns null if there are no extractable loops in the 162 // DeleteFunctionBody - "Remove" the function by deleting all of its basic 165 void llvm::DeleteFunctionBody(Function *F) { 166 // delete the body of the function... 168 assert(F->isDeclaration() && "This didn't make the function external!"); 173 static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
| 15.3.1.1-2.js | 24 ECMA Section: 15.3.1.1 The Function Constructor Called as a Function 25 Function(p1, p2, ..., pn, body ) 28 When the Function function is called with some arguments p1, p2, . . . , pn, 32 1. Create and return a new Function object exactly if the function constructor 42 var TITLE = "The Function Constructor Called as a Function"; 50 function getTestCases() [all...] |
| 15.3.2.1-2.js | 24 ECMA Section: 15.3.2.1 The Function Constructor 25 new Function(p1, p2, ..., pn, body ) 35 var TITLE = "The Function Constructor"; 43 function getTestCases() { 47 var myfunc1 = new Function("a","b","c", "return a+b+c" ); 48 var myfunc2 = new Function("a, b, c", "return a+b+c" ); 49 var myfunc3 = new Function("a,b", "c", "return a+b+c" ); 55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 56 "[object Function]", 69 array[item++] = new TestCase( SECTION, "myfunc2 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()" [all...] |
| /external/webkit/Source/WebCore/bindings/v8/ |
| V8LazyEventListener.cpp | 61 v8::Local<v8::Function> handlerFunction = v8::Local<v8::Function>::Cast(listenerObject); 101 // FIXME: cache the wrapper function. 111 String code = "(function (evt) {" \ 115 "return (function(evt){"; 126 v8::Local<v8::Function> wrappedFunction = v8::Local<v8::Function>::Cast(value); 128 // Change the toString function on the wrapper function to avoid it 129 // returning the source for the actual wrapper function. Instead i [all...] |
| DateExtension.cpp | 43 "(function () {" 46 " function getTimeOverride() {" 51 " function enableSleepDetection(enable) {" 60 " native function Setup();" 61 " native function OnSleepDetected();" 92 v8::Handle<v8::Function>::Cast(sleepFunctionHandle)->Call(v8::Object::New(), 1, argv); 111 v8::Handle<v8::Function> enableSleepDetectionFunction = v8::Handle<v8::Function>::Cast(args[1]);
|
| ScheduledAction.cpp | 46 ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value> argv[]) 50 m_function = v8::Persistent<v8::Function>::New(func); 119 proxy->callFunction(v8::Persistent<v8::Function>::Cast(m_function), v8Context->Global(), m_argc, m_argv);
|
| /external/llvm/lib/Analysis/ |
| ProfileInfo.cpp | 28 template<> char ProfileInfoT<Function,BasicBlock>::ID = 0; 42 ProfileInfoT<Function, BasicBlock>::ProfileInfoT() { 46 ProfileInfoT<Function, BasicBlock>::~ProfileInfoT() { 54 const double ProfileInfoT<Function,BasicBlock>::MissingValue = -1; 60 ProfileInfoT<Function,BasicBlock>::getExecutionCount(const BasicBlock *BB) { 61 std::map<const Function*, BlockCounts>::iterator J = 138 double ProfileInfoT<Function,BasicBlock>::getExecutionCount(const Function *F) { 139 std::map<const Function*, double>::iterator J = 144 // isDeclaration() is checked here and not at start of function to allo [all...] |
| /external/webkit/Source/JavaScriptCore/runtime/ |
| Lookup.h | 51 // FIXME: There is no reason this get function can't be simpler. 70 m_u.function.generator = generator; 81 ThunkGenerator generator() const { ASSERT(m_attributes & Function); return m_u.function.generator; } 83 NativeFunction function() const { ASSERT(m_attributes & Function); return m_u.function.functionValue; } function in class:JSC::HashEntry 84 unsigned char functionLength() const { ASSERT(m_attributes & Function); return static_cast<unsigned char>(m_u.function.length); } 86 GetFunction propertyGetter() const { ASSERT(!(m_attributes & Function)); return m_u.property.get; 109 } function; member in union:JSC::HashEntry::__anon13120 [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter4/ |
| toy.cpp | 123 /// CallExprAST - Expression class for function calls. 133 /// PrototypeAST - This class represents the "prototype" for a function, 135 /// of arguments the function takes). 143 Function *Codegen(); 146 /// FunctionAST - This class represents a function definition itself. 154 Function *Codegen(); 304 return ErrorP("Expected function name in prototype"); 367 // Look this variable up in the function. 392 Function *CalleeF = TheModule->getFunction(Callee); 394 return ErrorV("Unknown function referenced") [all...] |
| /external/llvm/unittests/VMCore/ |
| PassManagerTest.cpp | 22 #include "llvm/Function.h" 178 virtual bool runOnFunction(Function &F) { 239 virtual bool doInitialization(Function &F) { 248 virtual bool doFinalization(Function &F) { 271 Function &F = *I; 273 SCOPED_TRACE("Running on the fly function pass"); 327 // module/function was run inbetween 369 SCOPED_TRACE("Function pass"); 375 MemoryTestHelper<LPass>(2, 1); //2 loops, 1 function 422 // Function Declaration [all...] |
| /external/llvm/lib/Transforms/IPO/ |
| IPConstantPropagation.cpp | 44 bool PropagateConstantsIntoArguments(Function &F); 45 bool PropagateConstantReturn(Function &F); 77 /// function. If all uses are direct call sites, and all pass a particular 80 bool IPCP::PropagateConstantsIntoArguments(Function &F) { 94 // Used by a non-instruction, or not the callee of a function, do not 106 Function::arg_iterator Arg = F.arg_begin(); 123 // give up on this function. 134 Function::arg_iterator AI = F.arg_begin(); 151 // Check to see if this function returns one or more constants. If so, replace 156 // Additionally if a function always returns one of its arguments directly [all...] |
| /external/clang/tools/libclang/ |
| CIndexCXX.cpp | 111 } else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) { 112 Template = Function->getPrimaryTemplate(); 114 Template = Function->getInstantiatedFromMemberFunction();
|
| /external/llvm/include/llvm/Analysis/ |
| SparsePropagation.h | 11 // modeled after SCCP, but with a customizable lattice function. 31 class Function; 64 /// this function can return true to avoid pointless work. 113 /// Propagation with a programmable lattice function. 145 void Solve(Function &F); 147 void Print(Function &F, raw_ostream &OS) const; 159 /// map yet. This function is necessary because not all values should start 182 /// this function notices and adds I to the worklist if needed.
|
| BranchProbabilityInfo.h | 52 bool runOnFunction(Function &F);
|
| IntervalPartition.h | 11 // calculates and represents the interval partition of a function, or a 35 // a function. This partition divides the control flow graph into a set of 55 // run - Calculate the interval partition for this function 56 virtual bool runOnFunction(Function &F); 68 // block of the function. 91 // releaseMemory - Reset state back to before function was analyzed
|
| LazyValueInfo.h | 75 virtual bool runOnFunction(Function &F);
|
| LibCallAliasAnalysis.h | 51 virtual bool runOnFunction(Function &F) {
|
| ProfileInfoLoader.h | 26 class Function; 52 // getRawFunctionCounts - This method is used by consumers of function
|
| /external/llvm/include/llvm/CodeGen/ |
| FunctionLoweringInfo.h | 41 class Function; 54 /// function that is used when lowering a region of the function. 59 const Function *Fn; 63 /// CanLowerReturn - true iff the function's return value can be lowered to 74 /// ValueMap - Since we emit code for the function a basic block at a time, 81 /// anywhere in the function. 88 /// function arguments that are inserted after scheduling is completed. 119 /// TODO: This isn't per-function state, it's per-basic-block state. But 125 /// set - Initialize this FunctionLoweringInfo with the given Function [all...] |
| /external/llvm/lib/Target/Mips/ |
| MipsJITInfo.cpp | 19 #include "llvm/Function.h" 33 /// JITCompilerFunction - This contains the address of the JIT function used to 34 /// compile a function lazily. 45 // CompilationCallback stub - We can't use a C function with inline assembly in 68 // stuff for the real target function right now. We have to act as if this 72 // of the end of function stub. 82 // t8 points at the end of function stub. Pass the beginning of the stub 99 // Jump to the (newly modified) stub to invoke the real function. 115 /// MipsCompilationCallbackC - This is the target-specific function invoked 116 /// by the function stub when we did not know the real target of a call [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter6/ |
| toy.cpp | 147 /// CallExprAST - Expression class for function calls. 177 /// PrototypeAST - This class represents the "prototype" for a function, 179 /// of arguments the function takes), as well as if it is an operator. 200 Function *Codegen(); 203 /// FunctionAST - This class represents a function definition itself. 211 Function *Codegen(); 457 return ErrorP("Expected function name in prototype"); 553 // Look this variable up in the function. 562 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 588 Function *F = TheModule->getFunction(std::string("binary")+Op) [all...] |
| /development/tools/glesv2debugger/test/com/android/glesv2debugger/ |
| MessageParserExTest.java | 23 import com.android.glesv2debugger.DebuggerMessage.Message.Function; 73 assertEquals(Function.glShaderSource, builder.getFunction()); 85 assertEquals(Function.glBlendEquation, builder.getFunction()); 99 builder.setFunction(Function.glUniformMatrix2fv);
|