Home
last modified time | relevance | path

Searched refs:LF (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DTargetLibraryInfoTest.cpp68 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 DMemoryOpRemark.cpp52 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 DOptimizedStructLayoutTest.cpp56 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 DPartiallyInlineLibCalls.cpp133 LibFunc LF; in runPartiallyInlineLibCalls() local
135 !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF)) in runPartiallyInlineLibCalls()
138 switch (LF) { in runPartiallyInlineLibCalls()
H A DLoopStrengthReduce.cpp3377 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 DshowLineExecutionCounts-lcov.test26 // FULL: LF:20
36 // SUMMARYONLY: LF:20
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSILowerI1Copies.cpp543 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 Dllvm-tli-checker.cpp134 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 Dbasic-parsers.h844 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.gitattributes1 # Auto detect text files and perform LF normalization
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h243 LibFunc LF; variable
251 if (getLibFunc(AttrStr, LF))
252 setUnavailable(LF);
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp633 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 DMCAssembler.cpp669 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 DMCFragment.cpp462 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 DModuleInliner.cpp100 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.gitattributes5 # 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 DMemoryOpRemark.h78 void visitKnownLibCall(const CallInst &CI, LibFunc LF,
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp1028 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 Dtoy-jit.cpp1010 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 Dtoy.cpp1293 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 DCallGraph.cpp129 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.gitattributes24 # 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 DMacroToEnumCheck.cpp47 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 DHexagonLoopIdiomRecognition.cpp124 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 Dtoy.cpp1474 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()

12