/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_stacksave_main.c | 34 } Funcs[] = {{"test_basic_vla", test_basic_vla, Subzero_test_basic_vla}, local 38 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 44 uint32_t llc_result = Funcs[f].FuncLlc(size_to_test, start, inc); 45 uint32_t sz_result = Funcs[f].FuncSz(size_to_test, start, inc); 52 Funcs[f].Name, start, llc_result, sz_result);
|
H A D | test_bitmanip_main.cpp | 55 } Funcs[] = { local 63 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 69 Type ResultSz = Funcs[f].FuncSz(Value); 70 Type ResultLlc = Funcs[f].FuncLlc(Value); 75 std::cout << "test_" << Funcs[f].Name << (CHAR_BIT * sizeof(Type)) 91 } Funcs[] = { local 94 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 99 Type ResultSz = Funcs[ [all...] |
H A D | test_calling_conv_main.cpp | 71 } Funcs[] = { local 93 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 97 Callee = Funcs[f].Callee; 99 for (size_t i = 0; i < Funcs[f].Args; ++i) { 106 Funcs[f].Caller(); 109 Funcs[f].Subzero_Caller(); 116 std::cout << "testCaller(Caller=" << Funcs[f].CallerName 117 << ", Callee=" << Funcs[f].CalleeName << ", ArgNum=" << ArgNum 131 } Funcs[] local [all...] |
H A D | test_icmp_main.cpp | 50 } Funcs[] = { local 68 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 79 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); 80 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); 85 std::cout << "icmp" << Funcs[f].Name 106 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); 107 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); 112 std::cout << "icmp" << Funcs[f].Name 133 } Funcs[] local 211 } Funcs[] = { local 284 } Funcs[] = { local [all...] |
H A D | test_arith_main.cpp | 67 } Funcs[] = { local 87 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 98 if (Funcs[f].ExcludeDivExceptions && 103 if (Funcs[f].FuncSzUnsigned) { 104 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); 105 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); 107 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); 108 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); 114 std::cout << "test" << Funcs[ 188 } Funcs[] = { local 257 } Funcs[] = { local 328 } Funcs[] = { local [all...] |
H A D | test_sync_atomic_main.cpp | 66 } Funcs[] = { local 74 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 85 Type ResultSz1 = Funcs[f].FuncSz(fetch_first, AtomicLoc, Value2); 88 Type ResultLlc1 = Funcs[f].FuncLlc(fetch_first, AtomicLoc, Value2); 94 std::cout << "test_" << Funcs[f].Name << (CHAR_BIT * sizeof(Type)) 117 } Funcs[] = {{"val_cmp_swap", test_val_cmp_swap, Subzero_::test_val_cmp_swap}, local 120 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); 131 Funcs[ 187 } Funcs[] = { local [all...] |
/external/llvm/tools/bugpoint/ |
H A D | BugDriver.cpp | 230 void llvm::PrintFunctionList(const std::vector<Function*> &Funcs) { argument 231 unsigned NumPrint = Funcs.size(); 234 outs() << " " << Funcs[i]->getName(); 235 if (NumPrint < Funcs.size()) 236 outs() << "... <" << Funcs.size() << " total>";
|
H A D | CrashDebugger.cpp | 234 bool ReduceCrashingFunctions::TestFuncs(std::vector<Function*> &Funcs) { argument 236 if (KeepMain && std::find(Funcs.begin(), Funcs.end(), 238 Funcs.end()) 247 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { 248 Function *CMF = cast<Function>(VMap[Funcs[i]]); 250 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty"); 251 assert(CMF->getName() == Funcs[i]->getName() && "wrong name"); 256 PrintFunctionList(Funcs); 311 Funcs [all...] |
H A D | Miscompilation.cpp | 239 bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs, argument 242 // functions listed in Funcs. 244 << (Funcs.size()==1 ? "this function is" : "these functions are") 247 PrintFunctionList(Funcs); 252 // will be in the clone and Funcs will still point to valid memory 262 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { 263 Function *F = cast<Function>(VMap[Funcs[i]]); 481 // functions listed in Funcs. 1012 std::vector<Function*> Funcs = DebugAMiscompilation(*this, TestCodeGenerator, local 1021 SplitFunctionsOutOfModule(ToNotCodeGen.get(), Funcs, VMa [all...] |
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
H A D | BugDriver.cpp | 229 void llvm::PrintFunctionList(const std::vector<Function*> &Funcs) {
argument 230 unsigned NumPrint = Funcs.size();
233 outs() << " " << Funcs[i]->getName();
234 if (NumPrint < Funcs.size())
235 outs() << "... <" << Funcs.size() << " total>";
|
H A D | CrashDebugger.cpp | 199 bool ReduceCrashingFunctions::TestFuncs(std::vector<Function*> &Funcs) {
argument 202 if (KeepMain && find(Funcs.begin(), Funcs.end(),
203 BD.getProgram()->getFunction("main")) == Funcs.end())
212 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) {
213 Function *CMF = cast<Function>(VMap[Funcs[i]]);
215 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty");
216 assert(CMF->getName() == Funcs[i]->getName() && "wrong name");
221 PrintFunctionList(Funcs);
236 Funcs [all...] |
H A D | Miscompilation.cpp | 246 bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs,
argument 249 // functions listed in Funcs.
251 << (Funcs.size()==1 ? "this function is" : "these functions are")
254 PrintFunctionList(Funcs);
259 // will be in the clone and Funcs will still point to valid memory
269 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) {
270 Function *F = cast<Function>(VMap[Funcs[i]]);
465 // functions listed in Funcs.
1004 std::vector<Function*> Funcs = DebugAMiscompilation(*this, TestCodeGenerator,
local 1012 Module *ToCodeGen = SplitFunctionsOutOfModule(ToNotCodeGen, Funcs, VMa [all...] |
/external/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 199 const StringRef Funcs[] = {"await_ready", "await_suspend", "await_resume"}; local 200 for (size_t I = 0, N = llvm::array_lengthof(Funcs); I != N; ++I) { 205 ExprResult Result = buildMemberCall(S, Operand, Loc, Funcs[I], None);
|
/external/llvm/unittests/ProfileData/ |
H A D | InstrProfTest.cpp | 909 StringRef Funcs[] = {"Gfoo", "Gblah", "Gbar", "Ifoo", "Iblah", "Ibar", local 912 for (unsigned I = 0; I < sizeof(Funcs) / sizeof(*Funcs); I++) { 913 Function *F = M->getFunction(Funcs[I]); 919 ASSERT_EQ(StringRef(Funcs[I]), ProfSymtab.getOrigFuncName(Key));
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 132 SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs; member in class:__anon13436::GCOVProfiler 529 Funcs.push_back(make_unique<GCOVFunction>(SP, &F, &out, FunctionIdent++, 532 GCOVFunction &Func = *Funcs.back(); 575 for (auto &Func : Funcs) { 868 uint32_t FuncChecksum = Funcs.empty() ? 0 : Funcs[j]->getFuncChecksum();
|
/external/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 142 std::vector<std::string> &Funcs) { 152 Funcs.insert(Funcs.end(), Values.begin(), Values.end()); 141 getAllNoBuiltinFuncValues(ArgList &Args, std::vector<std::string> &Funcs) argument
|