Home
last modified time | relevance | path

Searched refs:IRInstructionData (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DIRSimilarityIdentifierTest.cpp62 std::vector<IRInstructionData *> InstrList; in TEST()
93 std::vector<IRInstructionData *> InstrList; in TEST()
121 std::vector<IRInstructionData *> InstrList; in TEST()
146 std::vector<IRInstructionData *> InstrList; in TEST()
173 std::vector<IRInstructionData *> InstrList; in TEST()
198 std::vector<IRInstructionData *> InstrList; in TEST()
224 std::vector<IRInstructionData *> InstrList; in TEST()
250 std::vector<IRInstructionData *> InstrList; in TEST()
276 std::vector<IRInstructionData *> InstrList; in TEST()
302 std::vector<IRInstructionData *> InstrList; in TEST()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h114 struct IRInstructionData struct
172 IRInstructionData(IRInstructionDataList &IDL);
309 bool isClose(const IRInstructionData &A, const IRInstructionData &B);
313 static inline IRInstructionData *getTombstoneKey() { in getTombstoneKey()
314 return reinterpret_cast<IRInstructionData *>(-1); in getTombstoneKey()
323 static bool isEqual(const IRInstructionData *LHS, in isEqual()
324 const IRInstructionData *RHS) { in isEqual()
657 IRInstructionData *FirstInst = nullptr;
660 IRInstructionData *LastInst = nullptr;
832 for (IRInstructionData &ID : *this) { in getBasicBlocks()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIRSimilarityIdentifier.cpp48 IRInstructionData::IRInstructionData(Instruction &I, bool Legality, in IRInstructionData() function in IRInstructionData
54 void IRInstructionData::initializeInstruction() { in initializeInstruction()
84 IRInstructionData::IRInstructionData(IRInstructionDataList &IDList) in IRInstructionData() function in IRInstructionData
87 void IRInstructionData::setBranchSuccessors( in setBranchSuccessors()
138 void IRInstructionData::setPHIPredecessors( in setPHIPredecessors()
294 for (IRInstructionData *ID : InstrListForBB) in convertToUnsignedVec()
355 IRInstructionData *
361 IRInstructionData *
383 IRInstructionData *ID = nullptr; in mapToIllegalUnsigned()
485 [](std::tuple<IRInstructionData &, IRInstructionData &> R) { in isSimilar() argument
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DIROutliner.h70 IRInstructionData *NewFront = nullptr;
71 IRInstructionData *NewBack = nullptr;
349 SpecificBumpPtrAllocator<IRInstructionData> InstDataAllocator;
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp496 for (IRInstructionData &ID : *Candidate) { in getBenefit()
550 for (IRInstructionData &ID : C) { in collectRegionsConstants()
2332 static bool nextIRInstructionDataMatchesNextInst(IRInstructionData &ID) { in nextIRInstructionDataMatchesNextInst()
2375 IRInstructionData *NewEndIRID = new (InstDataAllocator.Allocate()) in isCompatibleWithAlreadyOutlinedCode()
2376 IRInstructionData(*NewEndInst, in isCompatibleWithAlreadyOutlinedCode()
2385 return none_of(*IRSC, [this](IRInstructionData &ID) { in isCompatibleWithAlreadyOutlinedCode()
2430 bool BBHasAddressTaken = any_of(IRSC, [](IRInstructionData &ID){ in pruneIncompatibleRegions()
2449 bool BadInst = any_of(IRSC, [this](IRInstructionData &ID) { in pruneIncompatibleRegions()
2555 for (IRInstructionData &ID : Candidate) { in findCostForOutputBlocks()
2739 Region.NewFront = new (InstDataAllocator.Allocate()) IRInstructionData( in extractSection()
[all …]