Home
last modified time | relevance | path

Searched refs:InstInfo (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Core/
H A DMCPlusBuilder.cpp333 const MCInstrDesc &InstInfo = Info->get(Inst.getOpcode()); in getClobberedRegs() local
350 const MCInstrDesc &InstInfo = Info->get(Inst.getOpcode()); in getTouchedRegs() local
370 const MCInstrDesc &InstInfo = Info->get(Inst.getOpcode()); in getWrittenRegs() local
387 const MCInstrDesc &InstInfo = Info->get(Inst.getOpcode()); in getUsedRegs() local
420 const MCInstrDesc &InstInfo = Info->get(Inst.getOpcode()); in getSrcRegs() local
426 for (unsigned I = InstInfo.getNumDefs(), E = InstInfo.getNumOperands(); in getSrcRegs()
435 const MCInstrDesc &InstInfo = Info->get(MI.getOpcode()); in hasDefOfPhysReg() local
436 return InstInfo.hasDefOfPhysReg(MI, Reg, *RegInfo); in hasDefOfPhysReg()
440 const MCInstrDesc &InstInfo = Info->get(MI.getOpcode()); in hasUseOfPhysReg() local
441 for (int I = InstInfo.NumDefs; I < InstInfo.NumOperands; ++I) in hasUseOfPhysReg()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DADCE.cpp129 DenseMap<Instruction *, InstInfoType> InstInfo; member in __anon4cd2add00111::AggressiveDeadCodeElimination
130 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive()
234 InstInfo.reserve(NumInsts); in initialize()
237 InstInfo[&I].Block = &BBInfo.second; in initialize()
242 BBInfo.second.TerminatorLiveInfo = &InstInfo[BBInfo.second.Terminator]; in initialize()
379 auto &Info = InstInfo[I]; in markLive()
586 InstInfo[Info.Terminator].Live = true; in updateDeadRegions()
671 InstInfo[PredTerm].Live = true; in makeUnconditional()
678 InstInfo[NewTerm].Live = true; in makeUnconditional()
682 InstInfo.erase(PredTerm); in makeUnconditional()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DLivenessAnalysis.h138 const MCInstrDesc &InstInfo = BC.MII->get(Point.getOpcode()); in computeNext() local
140 if (!Point.getOperand(I).isReg() || I < InstInfo.getNumDefs()) in computeNext()
145 for (auto I = InstInfo.getImplicitUses(), in computeNext()
146 E = InstInfo.getImplicitUses() + InstInfo.getNumImplicitUses(); in computeNext()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp2572 CodeGenInstruction &InstInfo = in ApplyTypeConstraints() local
3662 if (InstInfo.hasUndefFlags()) in InferFromPattern()
3678 if (InstInfo.mayStore != PatInfo.mayStore && !InstInfo.mayStore_Unset) { in InferFromPattern()
3684 if (InstInfo.mayLoad != PatInfo.mayLoad && !InstInfo.mayLoad_Unset) { in InferFromPattern()
3687 if (!InstInfo.mayLoad) { in InferFromPattern()
4104 if (InstInfo.InferredFrom) in InferInstructionFlags()
4120 if (InstInfo->InferredFrom) in InferInstructionFlags()
4134 if (InstInfo->InferredFrom) in InferInstructionFlags()
4139 if (InstInfo->mayStore_Unset) in InferInstructionFlags()
4142 if (InstInfo->mayLoad_Unset) in InferInstructionFlags()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp167 json::Array InstInfo; in toJSON() local
172 InstInfo.push_back(std::move(JO)); in toJSON()
174 return json::Object({{"InstructionList", json::Value(std::move(InstInfo))}}); in toJSON()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprAgg.cpp979 CmpInstInfo InstInfo = [&]() -> CmpInstInfo { in EmitCompare() local
994 return Builder.CreateFCmp(InstInfo.FCmp, LHS, RHS, in EmitCompare()
995 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
998 ArgTy->hasSignedIntegerRepresentation() ? InstInfo.SCmp : InstInfo.UCmp; in EmitCompare()
1000 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
/llvm-project-15.0.7/bolt/lib/Target/AArch64/
H A DAArch64MCPlusBuilder.cpp178 const MCInstrDesc &InstInfo = Info->get(Inst.getOpcode()); in isLoadFromStack() local
179 unsigned NumDefs = InstInfo.getNumDefs(); in isLoadFromStack()
180 for (unsigned I = NumDefs, E = InstInfo.getNumOperands(); I < E; ++I) { in isLoadFromStack()
/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp86 ParseInstructionInfo *InstInfo; member in __anonad53f99c0111::X86AsmParser
1262 : MCTargetAsmParser(Options, sti, mii), InstInfo(nullptr), in X86AsmParser()
1753 InstInfo->AsmRewrites->emplace_back(AOK_SizeDirective, Start, in CreateMemForMSInlineAsm()
2186 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Start, Len); in RewriteIntelExpression()
2193 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Loc, ExprLen); in RewriteIntelExpression()
2210 InstInfo->AsmRewrites->emplace_back(Loc, ExprLen, Expr); in RewriteIntelExpression()
2252 InstInfo->AsmRewrites->emplace_back(AOK_Label, Loc, Identifier.size(), in ParseIntelInlineAsmIdentifier()
3085 InstInfo = &Info; in ParseInstruction()
3178 InstInfo->AsmRewrites->emplace_back(AOK_Skip, NameEndLoc, in ParseInstruction()
4537 InstInfo->AsmRewrites->emplace_back( in MatchAndEmitIntelInstruction()
/llvm-project-15.0.7/bolt/lib/Target/X86/
H A DX86MCPlusBuilder.cpp1073 struct InstInfo { in isStackAccess() struct
1082 InstInfo I; in isStackAccess()
1169 struct InstInfo { in changeToPushOrPop() struct
1176 InstInfo I; in changeToPushOrPop()
1477 struct InstInfo { in replaceMemOperandWithImm() struct
1492 InstInfo I; in replaceMemOperandWithImm()
2685 struct InstInfo { in replaceRegWithImm() struct
2700 InstInfo I; in replaceRegWithImm()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp571 struct InstInfo { struct
577 SmallVector<InstInfo, 4> Insts;
581 InstInfo Info = {I, SPAdjust, BeforeFPSet}; in addInst()
587 llvm::find_if(Insts, [&](InstInfo &Info) { return Info.I == I; }); in addExtraBytes()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DShrinkWrapping.cpp266 const MCInstrDesc &InstInfo = BC.MII->get(Point.getOpcode()); in checkStackPointerRestore() local
267 unsigned NumDefs = InstInfo.getNumDefs(); in checkStackPointerRestore()