HomeSort by relevance Sort by last modified time
    Searched refs:Function (Results 201 - 225 of 1083) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/llvm/lib/Target/MBlaze/
MBlazeIntrinsicInfo.cpp 16 #include "llvm/IR/Function.h"
103 Function *MBlazeIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID,
109 return cast<Function>(M->getOrInsertFunction(getName(IntrID),
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.h 24 #include "llvm/IR/Function.h"
197 const Function *F;
223 void printParamName(Function::const_arg_iterator I, int paramIndex,
226 void emitKernelFunctionDirectives(const Function& F,
230 void emitFunctionParamList(const Function *, raw_ostream &O);
242 void printReturnValStr(const Function *, raw_ostream &O);
264 // List of variables demoted to a function scope.
265 std::map<const Function *, std::vector<GlobalVariable *> > localDecls;
284 void emitDeclaration(const Function *, raw_ostream &O);
287 void emitDemotedVars(const Function *, raw_ostream &)
    [all...]
NVPTXSplitBBatBar.cpp 16 #include "llvm/IR/Function.h"
30 bool NVPTXSplitBBatBar::runOnFunction(Function &F) {
36 for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) {
NVPTXUtilities.cpp 16 #include "llvm/IR/Function.h"
157 const Function *func = arg->getParent();
171 const Function *func = arg->getParent();
185 const Function *func = arg->getParent();
216 bool llvm::getMaxNTIDx(const Function &F, unsigned &x) {
222 bool llvm::getMaxNTIDy(const Function &F, unsigned &y) {
228 bool llvm::getMaxNTIDz(const Function &F, unsigned &z) {
234 bool llvm::getReqNTIDx(const Function &F, unsigned &x) {
240 bool llvm::getReqNTIDy(const Function &F, unsigned &y) {
246 bool llvm::getReqNTIDz(const Function &F, unsigned &z)
    [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCExpand.cpp 30 #include "llvm/IR/Function.h"
55 virtual bool runOnFunction(Function &F);
85 bool ObjCARCExpand::runOnFunction(Function &F) {
95 DEBUG(dbgs() << "ObjCARCExpand: Visiting Function: " << F.getName() << "\n");
  /external/llvm/lib/Transforms/Scalar/
ConstantProp.cpp 43 bool runOnFunction(Function &F);
63 bool ConstantPropagation::runOnFunction(Function &F) {
92 // We made a change to the function...
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.
64 #include "llvm/IR/Function.h
    [all...]
  /external/llvm/lib/Transforms/Utils/
Mem2Reg.cpp 10 // This pass is a simple pass wrapper around the PromoteMemToReg function call
19 #include "llvm/IR/Function.h"
37 virtual bool runOnFunction(Function &F);
57 bool PromotePass::runOnFunction(Function &F) {
60 BasicBlock &BB = F.getEntryBlock(); // Get the entry node for the function
  /external/llvm/tools/bugpoint/
Miscompilation.cpp 176 class ReduceMiscompilingFunctions : public ListReducer<Function*> {
185 virtual TestResult doTest(std::vector<Function*> &Prefix,
186 std::vector<Function*> &Suffix,
205 bool TestFuncs(const std::vector<Function*> &Prefix, std::string &Error);
213 /// argument is set to true then this function deletes both input
246 bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs,
248 // Test to see if the function is misoptimized if we ONLY run it on the
251 << (Funcs.size()==1 ? "this function is" : "these functions are")
258 // * If the optimization passes delete any function, the deleted function
    [all...]
  /external/llvm/tools/llvm-diff/
DiffConsumer.h 27 class Function;
59 : L(L), R(R), Differences(false), IsFunction(isa<Function>(L)) {}
  /external/llvm/unittests/Bitcode/
BitReaderTest.cpp 30 Function* Func = Function::Create(FuncTy,GlobalValue::ExternalLinkage,
  /external/llvm/unittests/IR/
VerifierTest.cpp 14 #include "llvm/IR/Function.h"
28 OwningPtr<Function> F(Function::Create(FTy, GlobalValue::ExternalLinkage));
WaymarkTest.cpp 12 #include "llvm/IR/Function.h"
31 Function *F = Function::Create(FT, GlobalValue::ExternalLinkage);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/
10.1.3-1.js 55 var myfun1 = new Function( "a", "a", "return a" );
56 var myfun2 = new Function( "a", "b", "a", "return a" );
58 function myfun3(a, b, a) {
95 function test() {
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.1.1-3.js 24 ECMA Section: 15.3.1.1 The Function Constructor Called as a Function
26 new Function(p1, p2, ..., pn, body )
29 of a function; any preceeding arguments sepcify formal
43 var TITLE = "The Function Constructor Called as a Function";
68 MyFunc = Function( args, "var r=0; for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; else r += eval('arg'+i); }; return r");
69 MyObject = Function( args, "for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; eval('this.arg'+i +'=arg'+i); };");
79 testcases[testcases.length] = new TestCase( SECTION, "FUN1 = Function( 'a','b','c', 'return FUN1.length' ); FUN1.length", 3, eval("FUN1 = Function( 'a','b','c', 'return FUN1.length' ); FUN1.length") )
    [all...]
15.3.2.1-3.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";
49 function getTestCases() {
71 MyFunc = new Function( args, "var r=0; for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; else r += eval('arg'+i); }; return r");
72 MyObject = new Function( args, "for (var i = 0; i < MyFunc.length; i++ ) { if ( eval('arg'+i) == void 0) break; eval('this.arg'+i +'=arg'+i); };");
79 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length") );
80 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()", 3, eval("FUN1 = new Function( 'a','b','c', (…)
    [all...]
15.3.5-1.js 24 ECMA Section: 15.3.5 Properties of Function Instances
25 new Function(p1, p2, ..., pn, body )
32 the "typical" number of arguments expected by the function. However,
33 the language permits the function to be invoked with some other number
34 of arguments. The behavior of a function when invoked on a number of
36 on the function.
40 Prototype]] property of a newly created object before the Function object
46 outstanding invocation of the function in progress (that is, the function has been called
47 but has not yet returned). When a non-internal Function object (15.3.2.1) is invoked, it
    [all...]
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...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/
Function_object.js 24 Description: 'Testing Function objects'
42 function a_test_function(a,b,c)
64 testcases[count++] = new TestCase( SECTION, "(new Function()).name",
65 fnName, (new Function()).name);
67 testcases[count++] = new TestCase( SECTION, "(new Function()).toString()",
68 '\nfunction ' + fnName + '() {\n}\n', (new Function()).toString());
70 function test()
  /external/webkit/Source/WebCore/bindings/v8/
V8WindowErrorHandler.cpp 54 v8::Local<v8::Function> callFunction = v8::Local<v8::Function>::Cast(listener);
V8WorkerContextErrorHandler.cpp 54 v8::Local<v8::Function> callFunction = v8::Local<v8::Function>::Cast(listener);
  /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")
130 for (Function::iterator BB = F.begin()
    [all...]
DwarfEHPrepare.cpp 19 #include "llvm/IR/Function.h"
41 bool InsertUnwindResumeCalls(Function &Fn);
52 virtual bool runOnFunction(Function &Fn);
109 /// into calls to the appropriate _Unwind_Resume function.
110 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) {
113 for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) {
124 // Find the rewind function if we didn't already.
144 // Call the _Unwind_Resume function.
171 // Call the function.
180 bool DwarfEHPrepare::runOnFunction(Function &Fn)
    [all...]
  /external/llvm/lib/Transforms/IPO/
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.
40 STATISTIC(NumNoAlias, "Number of function returns marked noalias");
58 // IsFunctionMallocLike - Does this function allocate new memory?
59 bool IsFunctionMallocLike(Function *F,
60 SmallPtrSet<Function*, 8> &) const;
78 "Deduce function attributes", false, false)
81 "Deduce function attributes", false, false)
88 SmallPtrSet<Function*, 8> SCCNodes
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp 18 // - Insert calls at function entry/exit.
31 #include "llvm/IR/Function.h"
55 cl::desc("Instrument function entry and exit"), cl::Hidden);
80 bool runOnFunction(Function &F);
98 Function *TsanFuncEntry;
99 Function *TsanFuncExit;
102 Function *TsanRead[kNumberOfAccessSizes];
103 Function *TsanWrite[kNumberOfAccessSizes];
104 Function *TsanAtomicLoad[kNumberOfAccessSizes];
105 Function *TsanAtomicStore[kNumberOfAccessSizes]
    [all...]

Completed in 1166 milliseconds

1 2 3 4 5 6 7 891011>>