Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp175 class FunctionComparator { class
177 FunctionComparator(const Function *F1, const Function *F2, in FunctionComparator() function in __anon7fe985500111::FunctionComparator
457 FunctionComparator::FunctionHash Hash;
461 : F(F), Hash(FunctionComparator::functionHash(*F)) {} in FunctionNode()
463 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash()
475 int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const { in cmpNumbers()
481 int FunctionComparator::cmpOrderings(AtomicOrdering L, AtomicOrdering R) const { in cmpOrderings()
487 int FunctionComparator::cmpAPInts(const APInt &L, const APInt &R) const { in cmpAPInts()
495 int FunctionComparator::cmpAPFloats(const APFloat &L, const APFloat &R) const { in cmpAPFloats()
514 int FunctionComparator::cmpMem(StringRef L, StringRef R) const { in cmpMem()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp55 int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const { in cmpNumbers()
61 int FunctionComparator::cmpOrderings(AtomicOrdering L, AtomicOrdering R) const { in cmpOrderings()
67 int FunctionComparator::cmpAPInts(const APInt &L, const APInt &R) const { in cmpAPInts()
75 int FunctionComparator::cmpAPFloats(const APFloat &L, const APFloat &R) const { in cmpAPFloats()
94 int FunctionComparator::cmpMem(StringRef L, StringRef R) const { in cmpMem()
104 int FunctionComparator::cmpAttrs(const AttributeList L, in cmpAttrs()
130 int FunctionComparator::cmpRangeMetadata(const MDNode *L, in cmpRangeMetadata()
157 int FunctionComparator::cmpOperandBundlesSchema(const Instruction *L, in cmpOperandBundlesSchema()
188 int FunctionComparator::cmpConstants(const Constant *L, in cmpConstants()
385 int FunctionComparator::cmpGlobalValues(GlobalValue *L, GlobalValue *R) const { in cmpGlobalValues()
[all …]
DCMakeLists.txt18 FunctionComparator.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp172 FunctionComparator::FunctionHash Hash;
177 : F(F), Hash(FunctionComparator::functionHash(*F)) {} in FunctionNode()
180 FunctionComparator::FunctionHash getHash() const { return Hash; } in getHash()
219 FunctionComparator FCmp(LHS.getFunc(), RHS.getFunc(), GlobalNumbers); in operator ()()
317 int Res1 = FunctionComparator(F1, F2, &GlobalNumbers).compare(); in doSanityCheck()
318 int Res2 = FunctionComparator(F2, F1, &GlobalNumbers).compare(); in doSanityCheck()
338 int Res3 = FunctionComparator(F1, F3, &GlobalNumbers).compare(); in doSanityCheck()
339 int Res4 = FunctionComparator(F2, F3, &GlobalNumbers).compare(); in doSanityCheck()
381 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>> in runOnModule()
385 HashedFuncs.push_back({FunctionComparator::functionHash(Func), &Func}); in runOnModule()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DMergeFunctions.cpp156 class FunctionComparator { class
158 FunctionComparator(const TargetData *TD, const Function *F1, in FunctionComparator() function in __anonc4a247fc0211::FunctionComparator
203 bool FunctionComparator::isEquivalentType(Type *Ty1, in isEquivalentType()
286 bool FunctionComparator::isEquivalentOperation(const Instruction *I1, in isEquivalentOperation()
345 bool FunctionComparator::isEquivalentGEP(const GEPOperator *GEP1, in isEquivalentGEP()
377 bool FunctionComparator::enumerate(const Value *V1, const Value *V2) { in enumerate()
418 bool FunctionComparator::compare(const BasicBlock *BB1, const BasicBlock *BB2) { in compare()
461 bool FunctionComparator::compare() { in compare()
678 return FunctionComparator(LHS.getTD(), LHS.getFunc(), in isEqual()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h94 class FunctionComparator {
96 FunctionComparator(const Function *F1, const Function *F2, in FunctionComparator() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DFunctionComparator.cpp46 class TestComparator : public FunctionComparator {
50 : FunctionComparator(F1, F2, GN) { in TestComparator()
DCMakeLists.txt14 FunctionComparator.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DMergeFunctions.rst282 FunctionComparator::compare(void)
285 “``int FunctionComparator::compare(void)``” method.
308 2. Function type. Checked by ``FunctionComparator::cmpType(Type*, Type*)``
317 This is done by “``FunctionComparator::cmpValues(const Value*, const Value*)``”
328 compare them by “``FunctionComparator::compare(const BasicBlock*, const
334 FunctionComparator::cmpType
/external/llvm/docs/
DMergeFunctions.rst282 FunctionComparator::compare(void)
285 “``int FunctionComparator::compare(void)``” method.
308 2. Function type. Checked by ``FunctionComparator::cmpType(Type*, Type*)``
317 This is done by “``FunctionComparator::cmpValues(const Value*, const Value*)``”
328 compare them by “``FunctionComparator::compare(const BasicBlock*, const
334 FunctionComparator::cmpType
/external/swiftshader/third_party/llvm-7.0/
DAndroid.mk945 llvm/lib/Transforms/Utils/FunctionComparator.cpp \
DBUILD.gn1201 "llvm/lib/Transforms/Utils/FunctionComparator.cpp",
/external/swiftshader/
DCMakeLists.txt1442 ${LLVM_DIR}/lib/Transforms/Utils/FunctionComparator.cpp