Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DFunctionComparatorTest.cpp87 bool &needToCmpOperands) { in testCmpOperations() argument
89 return cmpOperations(L, R, needToCmpOperands); in testCmpOperations()
124 bool needToCmpOperands = false; in TEST() local
125 EXPECT_EQ(Cmp.testCmpOperations(F1.I, F2.I, needToCmpOperands), 0); in TEST()
126 EXPECT_TRUE(needToCmpOperands); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp523 bool &needToCmpOperands) const { in cmpOperations()
524 needToCmpOperands = true; in cmpOperations()
536 needToCmpOperands = false; in cmpOperations()
804 bool needToCmpOperands = true; in cmpBasicBlocks() local
805 if (int Res = cmpOperations(&*InstL, &*InstR, needToCmpOperands)) in cmpBasicBlocks()
807 if (needToCmpOperands) { in cmpBasicBlocks()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h278 bool &needToCmpOperands) const;