Home
last modified time | relevance | path

Searched refs:FunctionComparator (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp61 int FunctionComparator::cmpAligns(Align L, Align R) const { in cmpAligns()
106 int FunctionComparator::cmpMem(StringRef L, StringRef R) const { in cmpMem()
116 int FunctionComparator::cmpAttrs(const AttributeList L, in cmpAttrs()
160 int FunctionComparator::cmpRangeMetadata(const MDNode *L, in cmpRangeMetadata()
214 int FunctionComparator::cmpConstants(const Constant *L, in cmpConstants()
521 int FunctionComparator::cmpOperations(const Instruction *L, in cmpOperations()
698 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs()
729 int FunctionComparator::cmpInlineAsm(const InlineAsm *L, in cmpInlineAsm()
831 int FunctionComparator::compareSignature() const { in compareSignature()
878 int FunctionComparator::compare() { in compare()
[all …]
H A DCMakeLists.txt27 FunctionComparator.cpp
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp176 FunctionComparator::FunctionHash Hash;
181 : F(F), Hash(FunctionComparator::functionHash(*F)) {} in FunctionNode()
184 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash()
217 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()()
350 int Res1 = FunctionComparator(F1, F2, &GlobalNumbers).compare(); in doFunctionalCheck()
351 int Res2 = FunctionComparator(F2, F1, &GlobalNumbers).compare(); in doFunctionalCheck()
371 int Res3 = FunctionComparator(F1, F3, &GlobalNumbers).compare(); in doFunctionalCheck()
372 int Res4 = FunctionComparator(F2, F3, &GlobalNumbers).compare(); in doFunctionalCheck()
421 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule()
425 HashedFuncs.push_back({FunctionComparator::functionHash(Func), &Func}); in runOnModule()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h93 class FunctionComparator {
95 FunctionComparator(const Function *F1, const Function *F2, in FunctionComparator() function
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DFunctionComparatorTest.cpp45 class TestComparator : public FunctionComparator {
49 : FunctionComparator(F1, F2, GN) { in TestComparator()
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/
H A DBUILD.gn34 "FunctionComparator.cpp",
/llvm-project-15.0.7/llvm/docs/
H A DMergeFunctions.rst272 FunctionComparator::compare(void)
275 “``int FunctionComparator::compare(void)``” method.
298 2. Function type. Checked by ``FunctionComparator::cmpType(Type*, Type*)``
307 This is done by “``FunctionComparator::cmpValues(const Value*, const Value*)``”
318 compare them by “``FunctionComparator::compare(const BasicBlock*, const
324 FunctionComparator::cmpType
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt6909 llvm/lib/Transforms/Utils/FunctionComparator.cpp