Home
last modified time | relevance | path

Searched refs:PrevF (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp837 unsigned PrevF = 0; in organizeMetadata() local
841 if (!PrevF) { in organizeMetadata()
842 PrevF = F; in organizeMetadata()
843 } else if (PrevF != F) { in organizeMetadata()
845 std::swap(R, FunctionMDInfo[PrevF]); in organizeMetadata()
849 PrevF = F; in organizeMetadata()
859 FunctionMDInfo[PrevF] = R; in organizeMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp869 unsigned PrevF = 0; in organizeMetadata() local
873 if (!PrevF) { in organizeMetadata()
874 PrevF = F; in organizeMetadata()
875 } else if (PrevF != F) { in organizeMetadata()
877 std::swap(R, FunctionMDInfo[PrevF]); in organizeMetadata()
881 PrevF = F; in organizeMetadata()
891 FunctionMDInfo[PrevF] = R; in organizeMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp3421 auto *PrevF = M.getFunction(Name); in createFunctionClones() local
3422 if (PrevF) { in createFunctionClones()
3425 assert(PrevF->isDeclaration()); in createFunctionClones()
3426 NewF->takeName(PrevF); in createFunctionClones()
3427 PrevF->replaceAllUsesWith(NewF); in createFunctionClones()
3428 PrevF->eraseFromParent(); in createFunctionClones()