| /llvm-project-15.0.7/clang/test/Profile/Inputs/ |
| H A D | cxx-hash-v2.proftext | 2 # Func Hash: 11 # Func Hash: 20 # Func Hash: 29 # Func Hash: 38 # Func Hash: 48 # Func Hash: 60 # Func Hash: 72 # Func Hash: 81 # Func Hash: 91 # Func Hash: [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CodeExtractorTest.cpp | 58 Function *Func = M->getFunction("foo"); in TEST() local 66 CodeExtractorAnalysisCache CEAC(*Func); in TEST() 78 EXPECT_FALSE(verifyFunction(*Func)); in TEST() 136 EXPECT_FALSE(verifyFunction(*Func)); in TEST() 194 EXPECT_FALSE(verifyFunction(*Func)); in TEST() 251 EXPECT_FALSE(verifyFunction(*Func)); in TEST() 284 getBlockByName(Func, "extracted2") in TEST() 302 EXPECT_FALSE(verifyFunction(*Func)); in TEST() 356 getBlockByName(Func, "catch"), in TEST() 359 getBlockByName(Func, "lpad2") in TEST() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | LongJmp.cpp | 54 if (!Func.isSplit() || Func.empty()) in getBBAtHotColdSplitPoint() 294 if (!Func->isSplit()) in tentativeLayoutRelocColdPart() 343 HotAddresses[Func] = Func->getAddress(); in tentativeLayoutRelocMode() 363 if (!Func->isSplit()) in tentativeLayoutRelocMode() 374 tentativeBBLayout(*Func); in tentativeLayoutRelocMode() 385 HotAddresses[Func] = Func->getAddress(); in tentativeLayout() 388 if (Func->isSplit()) in tentativeLayout() 582 if (!Func.isSimple()) in relax() 627 if (relax(*Func)) { in runOnFunctions() 630 if (Func->isSimple()) in runOnFunctions() [all …]
|
| H A D | RegAnalysis.cpp | 48 RegsKilledMap[Func] != RegsKilled; in RegAnalysis() 50 RegsKilledMap[Func] = std::move(RegsKilled); in RegAnalysis() 57 RegsGenMap[Func] != RegsGen; in RegAnalysis() 59 RegsGenMap[Func] = std::move(RegsGen); in RegAnalysis() 79 BinaryFunction *Func = &MapEntry.second; in RegAnalysis() local 80 auto Iter = RegsKilledMap.find(Func); in RegAnalysis() 84 uint64_t Count = Func->getExecutionCount(); in RegAnalysis() 199 if (!Func->isSimple() || !Func->hasCFG()) { in getFunctionUsedRegsList() 204 for (const BinaryBasicBlock &BB : *Func) { in getFunctionUsedRegsList() 218 if (!Func->isSimple() || !Func->hasCFG()) { in getFunctionClobberList() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/ |
| H A D | cspgo.proftext | 4 # Func Hash: 13 # Func Hash: 22 # Func Hash: 30 # Func Hash: 38 # Func Hash: 47 # Func Hash: 56 # Func Hash: 73 # Func Hash: 82 # Func Hash: 94 # Func Hash: [all …]
|
| H A D | thinlto_cs.proftext | 4 # Func Hash: 12 # Func Hash: 21 # Func Hash: 30 # Func Hash: 39 # Func Hash: 47 # Func Hash: 55 # Func Hash: 66 # Func Hash:
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCLowerMASSVEntries.cpp | 53 static std::string createMASSVFuncName(Function &Func, 95 PPCLowerMASSVEntries::createMASSVFuncName(Function &Func, in createMASSVFuncName() argument 98 auto GenericName = Func.getName().str(); in createMASSVFuncName() 107 if (Func.getName() != "__powf4" && Func.getName() != "__powd2") in handlePowSpecialCases() 141 if (handlePowSpecialCases(CI, Func, M)) in lowerMASSVCall() 146 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall() 163 for (Function &Func : M) { in runOnModule() 164 if (!Func.isDeclaration()) in runOnModule() 167 if (!isMASSVFunc(Func.getName())) in runOnModule() 173 SmallVector<User *, 4> MASSVUsers(Func.users()); in runOnModule() [all …]
|
| H A D | PPCGenScalarMASSEntries.cpp | 57 Function &Func) const; 89 Function &Func) const { in createScalarMASSCall() 93 Module *M = Func.getParent(); in createScalarMASSCall() 101 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall() 115 for (Function &Func : M) { in runOnModule() 116 if (!Func.isDeclaration()) in runOnModule() 119 auto Iter = ScalarMASSFuncs.find(Func.getName()); in runOnModule() 127 for (auto *User : Func.users()) in runOnModule() 133 Changed |= createScalarMASSCall(Iter->second, *CI, Func); in runOnModule()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cov/Inputs/ |
| H A D | branch-c-general.proftext | 2 # Func Hash: 26 # Func Hash: 47 # Func Hash: 67 # Func Hash: 76 # Func Hash: 86 # Func Hash: 106 # Func Hash: 117 # Func Hash: 133 # Func Hash: 162 # Func Hash: [all …]
|
| H A D | name_allowlist.proftext | 2 # Func Hash: 10 # Func Hash: 18 # Func Hash: 26 # Func Hash: 34 # Func Hash: 42 # Func Hash: 50 # Func Hash:
|
| H A D | name_whitelist.proftext | 2 # Func Hash: 10 # Func Hash: 18 # Func Hash: 26 # Func Hash: 34 # Func Hash: 42 # Func Hash: 50 # Func Hash:
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/Inputs/ |
| H A D | multiple-profdata-merge.proftext | 4 # Func Hash: 15 # Func Hash: 28 # Func Hash: 38 # Func Hash: 51 # Func Hash: 59 # Func Hash: 67 # Func Hash: 75 # Func Hash: 83 # Func Hash: 91 # Func Hash: [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUHSAMetadataStreamer.cpp | 285 for (auto &Arg : Func.args()) in emitKernelArgs() 288 emitHiddenKernelArgs(Func, ST); in emitKernelArgs() 292 auto Func = Arg.getParent(); in emitKernelArg() local 459 auto &Func = MF.getFunction(); in emitKernel() local 472 emitKernelLanguage(Func); in emitKernel() 473 emitKernelAttrs(Func); in emitKernel() 474 emitKernelArgs(Func, ST); in emitKernel() 679 auto &Func = MF.getFunction(); in emitKernelArgs() local 682 for (auto &Arg : Func.args()) in emitKernelArgs() 692 auto Func = Arg.getParent(); in emitKernelArg() local [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | InterpFrame.cpp | 22 : Caller(Caller), S(S), Func(Func), This(std::move(This)), RetPC(RetPC), in InterpFrame() 23 ArgSize(Func ? Func->getArgSize() : 0), in InterpFrame() 25 if (Func) { in InterpFrame() 28 for (auto &Scope : Func->scopes()) { in InterpFrame() 39 if (Func && Func->isConstructor() && This.isBaseClass()) in ~InterpFrame() 52 for (PrimType Ty : Func->args_reverse()) in popArgs() 146 if (!Caller->Func) in getCallLocation() 152 return Func->getDecl(); in getCallee() 183 return S.getSource(Func, PC); in getSource() 187 return S.getExpr(Func, PC); in getExpr() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| H A D | copy_assign.pass.cpp | 96 typedef std::function<int()> Func; in main() typedef 97 Func f = g0; in main() 98 Func& fr = (f = (Func &)f); in main() 103 typedef std::function<int(int)> Func; in main() typedef 104 Func f = g; in main() 105 Func& fr = (f = (Func &)f); in main() 110 typedef std::function<int(int, int)> Func; in main() typedef 111 Func f = g2; in main() 112 Func& fr = (f = (Func &)f); in main() 118 Func f = g3; in main() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | EntryExitInstrumenter.cpp | 24 static void insertCall(Function &CurFn, StringRef Func, in insertCall() argument 29 if (Func == "mcount" || in insertCall() 30 Func == ".mcount" || in insertCall() 31 Func == "llvm.arm.gnu.eabi.mcount" || in insertCall() 32 Func == "\01_mcount" || in insertCall() 33 Func == "\01mcount" || in insertCall() 34 Func == "__mcount" || in insertCall() 35 Func == "_mcount" || in insertCall() 36 Func == "__cyg_profile_func_enter_bare") { in insertCall() 43 if (Func == "__cyg_profile_func_enter" || Func == "__cyg_profile_func_exit") { in insertCall() [all …]
|
| H A D | LibCallsShrinkWrap.cpp | 138 switch (Func) { in performCallDomainErrorOnly() 190 switch (Func) { in performCallRangeErrorOnly() 228 switch (Func) { in performCallErrors() 298 LibFunc Func; in checkCandidate() local 302 if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func)) in checkCandidate() 320 switch (Func) { in generateOneRangeCond() 342 switch (Func) { in generateTwoRangeCond() 421 if (Func != LibFunc_pow) { in generateCondForPow() 504 LibFunc Func; in perform() local 507 TLI.getLibFunc(*Callee, Func); in perform() [all …]
|
| H A D | SampleProfileInference.cpp | 592 FlowAdjuster(FlowFunction &Func) : Func(Func) { in FlowAdjuster() argument 593 assert(Func.Blocks[Func.Entry].isEntry() && in FlowAdjuster() 621 Func.Blocks[Func.Entry].Flow += 1; in joinIsolatedComponents() 744 std::min(Func.Blocks[Func.Entry].Flow, in jumpDistance() 1028 FlowFunction &Func; member in __anon646eb3200111::FlowAdjuster 1042 if (Func.Blocks[Func.Entry].Weight == 0) { in initializeNetwork() 1043 Func.Blocks[Func.Entry].Weight = 1; in initializeNetwork() 1057 auto &Block = Func.Blocks[B]; in initializeNetwork() 1214 Queue.push(Func.Entry); in verifyWeights() 1215 Visited[Func.Entry] = true; in verifyWeights() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileInference.h | 80 void applyFlowInference(FlowFunction &Func); 168 FlowFunction Func; 180 Block.Index = Func.Blocks.size(); 181 Func.Blocks.push_back(Block); 191 Func.Jumps.push_back(Jump); 197 for (auto &Jump : Func.Jumps) { 207 if (Func.Blocks[I].isEntry()) { 208 Func.Entry = I; 214 applyFlowInference(Func); 222 for (auto &Jump : Func.Jumps) { [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | ProperlySeededRandomGeneratorCheck.cpp | 86 const auto *Func = Result.Nodes.getNodeAs<CXXMemberCallExpr>("seed"); in check() local 87 if (Func) in check() 88 checkSeed(Result, Func); in check() 97 const MatchFinder::MatchResult &Result, const T *Func) { in checkSeed() argument 98 if (Func->getNumArgs() == 0 || Func->getArg(0)->isDefaultArgument()) { in checkSeed() 99 diag(Func->getExprLoc(), in checkSeed() 106 if (Func->getArg(0)->EvaluateAsInt(EVResult, *Result.Context)) { in checkSeed() 107 diag(Func->getExprLoc(), in checkSeed() 114 Func->getArg(0)->IgnoreCasts()->getType().getAsString()); in checkSeed() 116 diag(Func->getExprLoc(), in checkSeed()
|
| /llvm-project-15.0.7/clang/test/Layout/ |
| H A D | ms-vtordisp-local.cpp | 15 virtual void Func() {} in f() function 38 virtual void Func() {} in Func() function 60 virtual void Func() {} in f1() function 81 virtual void Func() {} in f1() function 102 virtual void Func() {} in f1() function 122 virtual void Func() {} in f1() function 144 virtual void Func() {} in f1() function 170 virtual void Func() {} in f2() function 193 virtual void Func() {} in Func() function
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | FunctionTest.cpp | 144 std::unique_ptr<Function> Func(Function::Create( in TEST() local 146 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout(""))); in TEST() 147 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fi8"))); in TEST() 148 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fn8"))); in TEST() 149 EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fi16"))); in TEST() 150 EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fn16"))); in TEST() 151 EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fi32"))); in TEST() 154 Func->setAlignment(Align(4)); in TEST() 156 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout(""))); in TEST() 157 EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fi8"))); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | Iterator.cpp | 76 bool isInsertCall(const FunctionDecl *Func) { in isInsertCall() argument 77 const auto *IdInfo = Func->getIdentifier(); in isInsertCall() 80 if (Func->getNumParams() < 2 || Func->getNumParams() > 3) in isInsertCall() 88 const auto *IdInfo = Func->getIdentifier(); in isEmplaceCall() 91 if (Func->getNumParams() < 2) in isEmplaceCall() 98 bool isEraseCall(const FunctionDecl *Func) { in isEraseCall() argument 99 const auto *IdInfo = Func->getIdentifier(); in isEraseCall() 102 if (Func->getNumParams() < 1 || Func->getNumParams() > 2) in isEraseCall() 106 if (Func->getNumParams() == 2 && in isEraseCall() 116 if (Func->getNumParams() < 1 || Func->getNumParams() > 2) in isEraseAfterCall() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_platform.h | 567 template <typename Func, typename Arg> 622 template <typename Func> 625 Func::template Apply<MappingMips64_40>(); in ForEachMapping() 630 Func::template Apply<MappingPPC64_44>(); in ForEachMapping() 631 Func::template Apply<MappingPPC64_46>(); in ForEachMapping() 632 Func::template Apply<MappingPPC64_47>(); in ForEachMapping() 633 Func::template Apply<MappingS390x>(); in ForEachMapping() 634 Func::template Apply<MappingGo48>(); in ForEachMapping() 635 Func::template Apply<MappingGoWindows>(); in ForEachMapping() 638 Func::template Apply<MappingGoAarch64>(); in ForEachMapping() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsCCState.h | 35 static bool originalTypeIsF128(const Type *Ty, const char *Func); 59 const char *Func); 110 PreAnalyzeCallOperands(Outs, FuncArgs, Func); in PreAnalyzeCallOperands() 117 const char *Func) { in AnalyzeCallOperands() argument 118 PreAnalyzeCallOperands(Outs, Fn, FuncArgs, Func); in AnalyzeCallOperands() 145 void PreAnalyzeCallResult(const Type *RetTy, const char *Func) { in PreAnalyzeCallResult() argument 146 OriginalArgWasF128.push_back(originalTypeIsF128(RetTy, Func)); in PreAnalyzeCallResult() 153 const char *Func) { in PreAnalyzeCallResult() argument 157 PreAnalyzeCallResultForF128(Ins, RetTy, Func); in PreAnalyzeCallResult() 163 const char *Func) { in AnalyzeCallResult() argument [all …]
|