| /external/llvm/include/llvm/ |
| Pass.h | 21 // or delete functions, they operate on the internals of the function. 38 class Function; 120 /// null. This automatically forwards to a virtual function that does not 128 /// pass operates on (Module, Function or MachineFunction). 146 /// getAnalysisUsage - This function should be overriden by passes that need 148 /// particular analysis result to this function, it can then use the 149 /// getAnalysis<AnalysisType>() function, below. 161 /// Optionally implement this function to release pass memory when it is no 193 /// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to 204 /// mustPreserveAnalysisID - This method serves the same function a [all...] |
| PassManager.h | 83 /// track of whether any of the passes modifies the function, and if 86 bool run(Function &F); 88 /// doInitialization - Run all of the initializers for the function passes. 92 /// doFinalization - Run all of the finalizers for the function passes.
|
| /external/llvm/lib/Transforms/Utils/ |
| CloneModule.cpp | 60 Function *NF = 61 Function::Create(cast<FunctionType>(I->getType()->getElementType()), 87 // Similarly, copy over function bodies now... 90 Function *F = cast<Function>(VMap[I]); 92 Function::arg_iterator DestI = F->arg_begin(); 93 for (Function::const_arg_iterator J = I->arg_begin(); J != I->arg_end();
|
| LowerExpectIntrinsic.cpp | 19 #include "llvm/IR/Function.h" 55 bool runOnFunction(Function &F); 65 Function *Fn = CI->getCalledFunction(); 109 Function *Fn = CI->getCalledFunction(); 135 bool LowerExpectIntrinsic::runOnFunction(Function &F) { 136 for (Function::iterator I = F.begin(), E = F.end(); I != E;) { 155 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/guava/guava-tests/test/com/google/common/collect/ |
| TablesTransformValuesTest.java | 23 import com.google.common.base.Function; 33 private static final Function<String, Character> FIRST_CHARACTER 34 = new Function<String, Character>() { 51 // Null support depends on the underlying table and 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/v8/test/mjsunit/regress/ |
| regress-603.js | 28 // Calling non-objects directly or via Function.prototype.call should 33 assertThrows(function() { 38 re1.call = Function.prototype.call; 39 assertThrows(function() { 44 assertThrows(function() { 45 Function.prototype.call.call(re2, null, 'abcdefghijklm') + 'z'; 49 assertThrows(function() { 50 Function.prototype.call.apply( 55 assertThrows(function() { 56 Function.prototype.apply.call [all...] |
| /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...] |
| 15.3.2.1-1.js | 24 ECMA Section: 15.3.2.1 The Function Constructor 25 new Function(p1, p2, ..., pn, body ) 28 of a function; any preceeding arguments sepcify formal 42 var TITLE = "The Function Constructor"; 46 var MyObject = new Function( "value", "this.value = value; this.valueOf = new Function( 'return this.value' ); this.toString = new Function( 'return String(this.value);' )" ); 51 function getTestCases() { 55 var myfunc = new Function(); 58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() ) [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
| tostring-1.js | 24 Section: Function.toString 27 Since the behavior of Function.toString() is implementation-dependent, 28 toString tests for function are not in the ECMA suite. 40 var TITLE = "Function.toString()"; 59 var f = new Function( "return \"hello!\""); 87 function noop( value ) { 89 function Add( a, b, c, d, e ) { 93 function stub( value ) { 96 function ToString( object ) { 100 function ToBoolean( value ) [all...] |
| /external/webkit/Source/WebCore/bindings/v8/ |
| V8NodeFilterCondition.cpp | 70 v8::Handle<v8::Function> callback; 72 callback = v8::Handle<v8::Function>::Cast(m_filter); 76 V8Proxy::throwError(V8Proxy::TypeError, "NodeFilter object does not have an acceptNode function"); 79 callback = v8::Handle<v8::Function>::Cast(value);
|
| /frameworks/compile/slang/BitWriter_2_9/ |
| BitcodeWriterPass.cpp | 15 #include "llvm/IR/Function.h" 25 bool expandCaseRange(Function &F); 49 bool WriteBitcodePass::expandCaseRange(Function &F) { 52 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
| /frameworks/compile/slang/BitWriter_2_9_func/ |
| BitcodeWriterPass.cpp | 15 #include "llvm/IR/Function.h" 25 bool expandCaseRange(Function &F); 49 bool WriteBitcodePass::expandCaseRange(Function &F) { 52 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
| GlDrawCallDetailProvider.java | 19 import com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function; 42 return (call.getFunction() == Function.glDrawArrays 43 || call.getFunction() == Function.glDrawElements) && call.hasFb();
|
| /external/guava/guava/src/com/google/common/cache/ |
| CacheLoader.java | 24 import com.google.common.base.Function; 103 * Returns a {@code CacheLoader} which creates values by applying a {@code Function} to the key. 105 public static <K, V> CacheLoader<K, V> from(Function<K, V> function) { 106 return new FunctionToCacheLoader<K, V>(function); 111 private final Function<K, V> computingFunction; 113 public FunctionToCacheLoader(Function<K, V> computingFunction) {
|
| /external/llvm/examples/BrainF/ |
| BrainFDriver.cpp | 56 //Add main function so can be fully compiled 59 Function *main_func = cast<Function>(mod-> 65 Function::arg_iterator args = main_func->arg_begin(); 145 Function *brainf_func = mod->getFunction("brainf");
|
| /external/llvm/examples/Fibonacci/ |
| fibonacci.cpp | 11 // with function Fibonacci and execute it with the JIT. 14 // consisting of one function as follow: 22 // function and return result to a driver, i.e. to a "host program". 39 static Function *CreateFibFunction(Module *M, LLVMContext &Context) { 40 // Create the fib function and insert it into module M. This function is said 42 Function *FibF = 43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context), 47 // Add a basic block to the function. 54 // Get pointer to the integer argument of the add1 function.. [all...] |
| /external/llvm/include/llvm/Analysis/ |
| CodeMetrics.h | 23 class Function; 34 /// return true, so will this function. 40 /// \brief True if this function contains a call to setjmp or other functions 44 /// \brief True if this function calls itself. 47 /// \brief True if this function cannot be duplicated. 49 /// True if this function contains one or more indirect branches, or it contains 53 /// \brief True if this function calls alloca (in the C sense).
|
| LibCallSemantics.h | 24 /// simple callback function. 68 /// TODO: Constant folding function: Constant* vector -> Constant*. 71 /// any specific context knowledge. For example, if the function is known 89 /// *only* mod/ref behavior of this function is captured by the 145 /// the specified function if we have it. If not, return null. 146 const LibCallFunctionInfo *getFunctionInfo(const Function *F) const;
|
| /external/llvm/lib/Transforms/ObjCARC/ |
| ObjCARCAPElim.cpp | 71 if (const Function *Callee = CS.getCalledFunction()) { 74 for (Function::const_iterator I = Callee->begin(), E = Callee->end(); 159 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1)); 160 // If the user used a constructor function with the wrong signature and 164 // Only look at function definitions. 170 // Ok, a single-block constructor function definition. Try to optimize it.
|
| ObjCARCAliasAnalysis.h | 64 virtual ModRefBehavior getModRefBehavior(const Function *F);
|
| /external/llvm/lib/Transforms/Scalar/ |
| Reg2Mem.cpp | 23 #include "llvm/IR/Function.h" 59 virtual bool runOnFunction(Function &F); 70 bool RegToMem::runOnFunction(Function &F) { 77 "Entry block to function must not have predecessors!"); 93 for (Function::iterator ibb = F.begin(), ibe = F.end(); 112 for (Function::iterator ibb = F.begin(), ibe = F.end();
|
| /external/llvm/tools/lli/ |
| RecordingMemoryManager.cpp | 77 uint8_t *RecordingMemoryManager::startFunctionBody(const Function *F, uintptr_t &ActualSize){ 86 void RecordingMemoryManager::endFunctionBody(const Function *F, uint8_t *FunctionStart, 101 uint8_t* RecordingMemoryManager::startExceptionTable(const Function* F, uintptr_t &ActualSize) { 105 void RecordingMemoryManager::endExceptionTable(const Function *F, uint8_t *TableStart,
|