/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/include/llvm/ |
PassManager.h | 84 /// track of whether any of the passes modifies the function, and if 87 bool run(Function &F); 89 /// doInitialization - Run all of the initializers for the function passes. 93 /// doFinalization - Run all of the finalizers for the function passes.
|
/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/mesa3d/src/gallium/drivers/radeon/ |
R600KernelParameters.cpp | 1 //===-- R600KernelParameters.cpp - Lower kernel function arguments --------===// 10 // This pass lowers kernel function arguments to loads from the vertex buffer. 22 #include "llvm/Function.h" 65 bool IsOpenCLKernel(const Function *Fun); 71 void RunAna(Function *Fun); 72 void Replace(Function *Fun); 74 void Propagate(Function* Fun); 76 Value* ConstantRead(Function *Fun, Param &P); 77 Value* handleSpecial(Function *Fun, Param &P); 84 bool runOnFunction (Function &F) [all...] |
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 33 static Function* createAdd1(Module *M) { 34 // Create the add1 function entry and insert this entry into module M. The 35 // function will have a return type of "int" and take an argument of "int". 37 Function *Add1F = 38 cast<Function>(M->getOrInsertFunction("add1", 43 // Add a basic block to the function. As before, it automatically inserts 50 // Get pointers to the integer argument of the add1 function... 61 // Now, function add1 is ready. 65 static Function *CreateFibFunction(Module *M) { 66 // Create the fib function and insert it into module M. This function is sai [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Interpreter.h | 20 #include "llvm/IR/Function.h" 36 // alloca. When the function returns, this object is popped off the execution 71 Function *CurFunction;// The currently executing function 84 GenericValue ExitValue; // The return value of the called function 89 // function record. 93 // registered with the atexit() library function. 94 std::vector<Function*> AtExitHandlers; 113 /// run - Start execution with the specified function and arguments. 115 virtual GenericValue runFunction(Function *F [all...] |
/external/llvm/lib/Transforms/IPO/ |
PruneEH.cpp | 25 #include "llvm/IR/Function.h" 46 bool SimplifyFunction(Function *F); 74 if (Function *F = (*I)->getFunction()) 87 Function *F = (*I)->getFunction(); 101 // Check to see if this function performs an unwind or calls an 102 // unwinding function. 103 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) { 118 } else if (Function *Callee = CI->getCalledFunction()) { 147 Function *F = (*I)->getFunction(); 162 if (Function *F = (*I)->getFunction() [all...] |
DeadArgumentElimination.cpp | 12 // only passed into function calls as dead arguments of other functions. This 53 /// Struct that represents (part of) either a return value or a function 57 RetOrArg(const Function *F, unsigned Idx, bool IsArg) : F(F), Idx(Idx), 59 const Function *F; 80 + utostr(Idx) + " of function " + F->getName().str(); 92 RetOrArg CreateRet(const Function *F, unsigned Idx) { 96 RetOrArg CreateArg(const Function *F, unsigned Idx) { 108 /// This means that some function calls G and passes its result as an 118 typedef std::set<const Function*> LiveFuncSet; 127 // Map each LLVM function to corresponding metadata with debug info. I [all...] |
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
GLMessageFormatterTest.java | 26 import com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function; 62 GLMessage msg = constructGLMessage(null, Function.glBindBuffer, 81 Function.glGetString, 83 String expected = String.format("%s(name = %s) = (const GLchar*) %s", Function.glGetString, 96 Function.eglBindAPI, 107 Function.glTexImage2D, 121 Function.glMultMatrixf, 134 Function.glGetActiveAttrib, 175 private GLMessage constructGLMessage(DataType retValue, Function func, DataType...args) {
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 62 // This function returns true if F is fully read and is still a declaration. 63 static bool isNonGhostDeclaration(const Function *F) { 83 struct CallSiteValueMapConfig : public NoRAUWValueMapConfig<Function*> { 85 static void onDelete(JITResolverState *JRS, Function *F); 90 typedef ValueMap<Function*, void*, NoRAUWValueMapConfig<Function*> > 92 typedef std::map<void*, AssertingVH<Function> > CallSiteToFunctionMapTy; 93 typedef ValueMap<Function *, SmallPtrSet<void*, 1>, 98 /// particular function so that we can reuse them if necessary. 101 /// CallSiteToFunctionMap - Keep track of the function that each lazy cal [all...] |
/external/chromium/testing/gmock/include/gmock/internal/ |
gmock-generated-internal-utils.h | 138 // Template struct Function<F>, where F must be a function type, contains 141 // Result: the function's return type. 146 // MakeResultVoid: the function type obtained by substituting void 149 // the function type obtained by substituting Something 152 struct Function; 155 struct Function<R()> { 164 struct Function<R(A1)> 165 : Function<R()> { 174 struct Function<R(A1, A2) [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 18 // - Insert calls at function entry/exit. 31 #include "llvm/IR/Function.h" 56 cl::desc("Instrument function entry and exit"), cl::Hidden); 85 bool runOnFunction(Function &F); 105 Function *TsanFuncEntry; 106 Function *TsanFuncExit; 109 Function *TsanRead[kNumberOfAccessSizes]; 110 Function *TsanWrite[kNumberOfAccessSizes]; 111 Function *TsanAtomicLoad[kNumberOfAccessSizes]; 112 Function *TsanAtomicStore[kNumberOfAccessSizes] [all...] |
/external/llvm/lib/Target/Mips/ |
Mips16HardFloat.cpp | 60 // Determine which FP return type this function has 99 static FPParamVariant whichFPParamVariantNeeded(Function &F) { 146 // Figure out if we need float point based on the function parameters. 150 static bool needsFPStubFromParams(Function &F) { 164 static bool needsFPReturnHelper(Function &F) { 169 static bool needsFPHelperFromSig(Function &F) { 238 // Make sure that we know we already need a stub for this function. 241 static void assureFPCallStub(Function &F, Module *M, 254 Function *FStub = M->getFunction(StubName); 256 FStub = Function::Create(F.getFunctionType() [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
MathTesting.java | 31 import com.google.common.base.Function; 54 // Exponents to test for the pow() function. 58 /* Helper function to make a Long value from an Integer. */ 59 private static final Function<Integer, Long> TO_LONG = new Function<Integer, Long>() { 66 /* Helper function to make a BigInteger value from a Long. */ 67 private static final Function<Long, BigInteger> TO_BIGINTEGER = 68 new Function<Long, BigInteger>() { 75 private static final Function<Integer, Integer> NEGATE_INT = new Function<Integer, Integer>() [all...] |
/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 87 llvm::Constant *function; local 90 // Special-case non-array C++ destructors, where there's a function 98 function = CGM.GetAddrOfCXXDestructor(dtor, Dtor_Complete); 101 // Otherwise, the standard logic requires a helper function. 103 function = CodeGenFunction(CGM).generateDestroyHelper(addr, type, 109 CGM.getCXXABI().registerGlobalDtor(CGF, D, function, argument); 156 static llvm::Function * 162 /// Create a stub function, suitable for being passed to atexit, 163 /// which passes the given address to the given destructor function. 167 // Get the destructor function type, void(*)(void) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ExpressionVisitor.java | 28 import org.apache.xpath.functions.Function; 55 * If the function is an extension function, register the namespace. 58 * @param func The function currently being visited. 62 public boolean visitFunction(ExpressionOwner owner, Function func)
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
XPathVisitor.java | 25 import org.apache.xpath.functions.Function; 141 * Visit a function. 144 * @param func The function reference object. 147 public boolean visitFunction(ExpressionOwner owner, Function func)
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
JavaScriptCallFrame.cpp | 125 v8::Handle<v8::Function> stepInPositions = v8::Handle<v8::Function>::Cast(callFrame->Get(v8::String::NewSymbol("stepInPositions"))); 133 v8::Handle<v8::Function> evalFunction = v8::Handle<v8::Function>::Cast(callFrame->Get(v8::String::NewSymbol("evaluate"))); 141 v8::Handle<v8::Function> restartFunction = v8::Handle<v8::Function>::Cast(callFrame->Get(v8::String::NewSymbol("restart"))); 151 v8::Handle<v8::Function> setVariableValueFunction = v8::Handle<v8::Function>::Cast(callFrame->Get(v8::String::NewSymbol("setVariableValue")));
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
Forward.h | 27 template<typename T> class Function; 55 using WTF::Function;
|
/external/guava/guava/src/com/google/common/base/ |
Enums.java | 42 * Returns a {@link Function} that maps an {@link Enum} name to the associated 43 * {@code Enum} constant. The {@code Function} will return {@code null} if the 49 public static <T extends Enum<T>> Function<String, T> valueOfFunction(Class<T> enumClass) { 54 * {@link Function} that maps an {@link Enum} name to the associated 58 Function<String, T>, Serializable {
|
FunctionalEquivalence.java | 41 private final Function<F, ? extends T> function; field in class:FunctionalEquivalence 45 Function<F, ? extends T> function, Equivalence<T> resultEquivalence) { 46 this.function = checkNotNull(function); 51 return resultEquivalence.equivalent(function.apply(a), function.apply(b)); 55 return resultEquivalence.hash(function.apply(a)); 64 return function.equals(that.function [all...] |