| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | TargetLibraryInfoTest.cpp | 68 LibFunc LF = (LibFunc)FI; in TEST_F() local 70 M->getOrInsertFunction(TLI.getName(LF), InvalidFTy).getCallee()); in TEST_F() 71 EXPECT_FALSE(isLibFunc(F, LF)); in TEST_F() 598 LibFunc LF = (LibFunc)FI; in TEST_F() local 600 TLII.setAvailable(LF); in TEST_F() 601 Function *F = M->getFunction(TLI.getName(LF)); in TEST_F() 602 EXPECT_TRUE(isLibFunc(F, LF)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 52 LibFunc LF; in canHandle() local 53 bool KnownLibCall = TLI.getLibFunc(*CF, LF) && TLI.has(LF); in canHandle() 57 switch (LF) { in canHandle() 248 LibFunc LF; in visitCall() local 249 bool KnownLibCall = TLI.getLibFunc(*F, LF) && TLI.has(LF); in visitCall() 252 visitKnownLibCall(CI, LF, *R); in visitCall() 265 void MemoryOpRemark::visitKnownLibCall(const CallInst &CI, LibFunc LF, in visitKnownLibCall() argument 267 switch (LF) { in visitKnownLibCall()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | OptimizedStructLayoutTest.cpp | 56 for (auto &LF : LayoutFields) { in verify() local 57 auto &F = *static_cast<const Field *>(LF.Id); in verify() 58 EXPECT_EQ(LF.Offset, F.ExpectedOffset); in verify()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | PartiallyInlineLibCalls.cpp | 133 LibFunc LF; in runPartiallyInlineLibCalls() local 135 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls() 138 switch (LF) { in runPartiallyInlineLibCalls()
|
| H A D | LoopStrengthReduce.cpp | 3377 LSRFixup &LF = LU.getNewFixup(); in CollectFixupsAndInitialFormulae() local 3378 LF.UserInst = UserInst; in CollectFixupsAndInitialFormulae() 3381 LF.Offset = Offset; in CollectFixupsAndInitialFormulae() 3557 LF.OperandValToReplace = U; in CollectLoopInvariantFixupsAndFormulae() 3558 LF.Offset = Offset; in CollectLoopInvariantFixupsAndFormulae() 5234 if (LF.PostIncLoops.count(L)) { in AdjustInsertPositionForExpand() 5235 if (LF.isUseFullyOutsideLoop(L)) in AdjustInsertPositionForExpand() 5288 return LF.OperandValToReplace; in Expand() 5586 Value *FullV = Expand(LU, LF, F, LF.UserInst->getIterator(), DeadInsts); in Rewrite() 5605 LF.UserInst->replaceUsesOfWith(LF.OperandValToReplace, FullV); in Rewrite() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cov/ |
| H A D | showLineExecutionCounts-lcov.test | 26 // FULL: LF:20 36 // SUMMARYONLY: LF:20
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SILowerI1Copies.cpp | 543 LoopFinder LF(*DT, *PDT); in lowerPhis() local 566 LF.initialize(MBB); in lowerPhis() 614 unsigned FoundLoopLevel = LF.findLoop(PostDomBound); in lowerPhis() 619 LF.addLoopEntries(FoundLoopLevel, SSAUpdater, IncomingBlocks); in lowerPhis() 679 LoopFinder LF(*DT, *PDT); in lowerCopiesToI1() local 683 LF.initialize(MBB); in lowerCopiesToI1() 730 unsigned FoundLoopLevel = LF.findLoop(PostDomBound); in lowerCopiesToI1() 734 LF.addLoopEntries(FoundLoopLevel, SSAUpdater); in lowerCopiesToI1()
|
| /llvm-project-15.0.7/llvm/tools/llvm-tli-checker/ |
| H A D | llvm-tli-checker.cpp | 134 LibFunc LF = (LibFunc)FI; in initialize() local 135 bool Available = TLI.has(LF); in initialize() 137 TLII.setAvailable(LF); in initialize() 138 emplace_back(TLI.getName(LF), Available); in initialize()
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | basic-parsers.h | 844 template <LanguageFeature LF, typename PA> class NonstandardParser { 852 if (!ustate->features().IsEnabled(LF)) { in Parse() 860 CharBlock{at, std::max(state.GetLocation(), at + 1)}, LF, message_); in Parse() 870 template <LanguageFeature LF, typename PA> 872 return NonstandardParser<LF, PA>(parser, feature); in extension() 878 template <LanguageFeature LF, typename PA> class DeprecatedParser { 885 if (!ustate->features().IsEnabled(LF)) { in Parse() 892 state.Nonstandard(CharBlock{at, state.GetLocation()}, LF, in Parse() 902 template <LanguageFeature LF, typename PA> 904 return DeprecatedParser<LF, PA>(parser); in deprecated()
|
| /llvm-project-15.0.7/polly/ |
| H A D | .gitattributes | 1 # Auto detect text files and perform LF normalization
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 243 LibFunc LF; variable 251 if (getLibFunc(AttrStr, LF)) 252 setUnavailable(LF);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 633 LibFunc LF; in AddFlushBeforeForkAndExec() local 634 if (TLI->getLibFunc(*Callee, LF)) { in AddFlushBeforeForkAndExec() 635 if (LF == LibFunc_fork) { in AddFlushBeforeForkAndExec() 639 } else if (LF == LibFunc_execl || LF == LibFunc_execle || in AddFlushBeforeForkAndExec() 640 LF == LibFunc_execlp || LF == LibFunc_execv || in AddFlushBeforeForkAndExec() 641 LF == LibFunc_execvp || LF == LibFunc_execve || in AddFlushBeforeForkAndExec() 642 LF == LibFunc_execvpe || LF == LibFunc_execvP) { in AddFlushBeforeForkAndExec()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCAssembler.cpp | 669 const MCLEBFragment &LF = cast<MCLEBFragment>(F); in writeFragment() local 670 OS << LF.getContents(); in writeFragment() 1010 bool MCAssembler::relaxLEB(MCAsmLayout &Layout, MCLEBFragment &LF) { in relaxLEB() argument 1011 uint64_t OldSize = LF.getContents().size(); in relaxLEB() 1013 bool Abs = LF.getValue().evaluateKnownAbsolute(Value, Layout); in relaxLEB() 1016 SmallString<8> &Data = LF.getContents(); in relaxLEB() 1023 if (LF.isSigned()) in relaxLEB() 1027 return OldSize != LF.getContents().size(); in relaxLEB()
|
| H A D | MCFragment.cpp | 462 const auto *LF = cast<MCLEBFragment>(this); in dump() local 464 OS << " Value:" << LF->getValue() << " Signed:" << LF->isSigned(); in dump()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ModuleInliner.cpp | 100 LibFunc LF; in isKnownLibFunction() local 105 return TLI.getLibFunc(F, LF) || in isKnownLibFunction()
|
| /llvm-project-15.0.7/clang-tools-extra/test/ |
| H A D | .gitattributes | 5 # These test input files rely on one-byte Unix (LF) line-endings, as they use
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | MemoryOpRemark.h | 78 void visitKnownLibCall(const CallInst &CI, LibFunc LF,
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy-jit.cpp | 1028 if (Function *LF = F->Codegen()) { in HandleDefinition() local 1031 LF->dump(); in HandleDefinition() 1057 if (Function *LF = F->Codegen()) { in HandleTopLevelExpression() local 1059 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | toy-jit.cpp | 1010 if (Function *LF = F->Codegen()) { in HandleDefinition() local 1013 LF->print(errs()); in HandleDefinition() 1041 if (Function *LF = F->Codegen()) { in HandleTopLevelExpression() local 1043 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression()
|
| H A D | toy.cpp | 1293 if (Function *LF = F->Codegen()) { in HandleDefinition() local 1296 LF->print(errs()); in HandleDefinition() 1324 if (Function *LF = F->Codegen()) { in HandleTopLevelExpression() local 1326 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CallGraph.cpp | 129 if (Function *LF = LHS->getFunction()) in print() local 131 return LF->getName() < RF->getName(); in print()
|
| /llvm-project-15.0.7/llvm/ |
| H A D | .gitattributes | 24 # These files must have LF line endings because the test requires exact matching
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MacroToEnumCheck.cpp | 47 LF, in hasOnlyComments() enumerator 63 if (State == WhiteSpace::LF || State == WhiteSpace::CRLFCR) in hasOnlyComments() 66 State = State == WhiteSpace::CR ? WhiteSpace::CRLF : WhiteSpace::LF; in hasOnlyComments()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 124 LoopInfo *LF, const TargetLibraryInfo *TLI, in HexagonLoopIdiomRecognize() argument 126 : AA(AA), DT(DT), LF(LF), TLI(TLI), SE(SE) {} in HexagonLoopIdiomRecognize() 144 LoopInfo *LF; member in __anon47960cc60111::HexagonLoopIdiomRecognize 2186 Loop *ParentL = LF->getLoopFor(Preheader); in processCopyingStore() 2194 ParentL->addBasicBlockToLoop(NewPreheader, *LF); in processCopyingStore() 2237 ParentL->addBasicBlockToLoop(MemmoveB, *LF); in processCopyingStore() 2355 if (LF->getLoopFor(UseB) != L) in coverLoop() 2411 if (LF->getLoopFor(BB) != L) in runOnCountableLoop() 2451 auto *LF = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo(); in runOnLoop() local 2455 return HexagonLoopIdiomRecognize(AA, DT, LF, TLI, SE).run(L); in runOnLoop()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 1474 Function *LF = F->Codegen(); in HandleDefinition() local 1475 if (LF && VerboseOutput) { in HandleDefinition() 1477 LF->print(errs()); in HandleDefinition() 1503 if (Function *LF = F->Codegen()) { in HandleTopLevelExpression() local 1505 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression()
|