Searched refs:FunctionComparator (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | FunctionComparator.cpp | 53 int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const { in cmpNumbers() 61 int FunctionComparator::cmpOrderings(AtomicOrdering L, AtomicOrdering R) const { in cmpOrderings() 69 int FunctionComparator::cmpAPInts(const APInt &L, const APInt &R) const { in cmpAPInts() 79 int FunctionComparator::cmpAPFloats(const APFloat &L, const APFloat &R) const { in cmpAPFloats() 98 int FunctionComparator::cmpMem(StringRef L, StringRef R) const { in cmpMem() 108 int FunctionComparator::cmpAttrs(const AttributeList L, in cmpAttrs() 152 int FunctionComparator::cmpRangeMetadata(const MDNode *L, in cmpRangeMetadata() 179 int FunctionComparator::cmpOperandBundlesSchema(const CallBase &LCS, in cmpOperandBundlesSchema() 206 int FunctionComparator::cmpConstants(const Constant *L, in cmpConstants() 404 int FunctionComparator::cmpGlobalValues(GlobalValue *L, GlobalValue *R) const { in cmpGlobalValues() [all …]
|
H A D | CMakeLists.txt | 27 FunctionComparator.cpp
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 178 FunctionComparator::FunctionHash Hash; 183 : F(F), Hash(FunctionComparator::functionHash(*F)) {} in FunctionNode() 186 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash() 219 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()() 349 int Res1 = FunctionComparator(F1, F2, &GlobalNumbers).compare(); in doSanityCheck() 350 int Res2 = FunctionComparator(F2, F1, &GlobalNumbers).compare(); in doSanityCheck() 370 int Res3 = FunctionComparator(F1, F3, &GlobalNumbers).compare(); in doSanityCheck() 371 int Res4 = FunctionComparator(F2, F3, &GlobalNumbers).compare(); in doSanityCheck() 415 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule() 419 HashedFuncs.push_back({FunctionComparator::functionHash(Func), &Func}); in runOnModule() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | FunctionComparator.h | 93 class FunctionComparator { 95 FunctionComparator(const Function *F1, const Function *F2, in FunctionComparator() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/ |
H A D | BUILD.gn | 34 "FunctionComparator.cpp",
|
/netbsd-src/external/apache2/llvm/lib/libLLVMTransformsUtils/ |
H A D | Makefile | 34 FunctionComparator.cpp \
|
/netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
H A D | MergeFunctions.rst | 272 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
|