Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp134 DenseMap<Instruction *, InstInfoType> InstInfo; member in __anond5cecdd60111::AggressiveDeadCodeElimination
135 bool isLive(Instruction *I) { return InstInfo[I].Live; } in isLive()
239 InstInfo.reserve(NumInsts); in initialize()
242 InstInfo[&I].Block = &BBInfo.second; in initialize()
247 BBInfo.second.TerminatorLiveInfo = &InstInfo[BBInfo.second.Terminator]; in initialize()
384 auto &Info = InstInfo[I]; in markLive()
616 InstInfo[Info.Terminator].Live = true; in updateDeadRegions()
701 InstInfo[PredTerm].Live = true; in makeUnconditional()
708 InstInfo[NewTerm].Live = true; in makeUnconditional()
712 InstInfo.erase(PredTerm); in makeUnconditional()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNCreateVOPD.cpp88 auto InstInfo = in doReplace() local
92 auto MCOprIdx = InstInfo[CompIdx].getIndexOfDstInMCOperands(); in doReplace()
97 auto CompSrcOprNum = InstInfo[CompIdx].getCompSrcOperandsNum(); in doReplace()
99 auto MCOprIdx = InstInfo[CompIdx].getIndexOfSrcInMCOperands(CompSrcIdx); in doReplace()
H A DGCNVOPDUtils.cpp77 auto InstInfo = in checkVOPDRegConstraints() local
94 if (InstInfo[CompIdx].hasMandatoryLiteral()) { in checkVOPDRegConstraints()
95 auto CompOprIdx = InstInfo[CompIdx].getMandatoryLiteralCompOperandIndex(); in checkVOPDRegConstraints()
112 if (InstInfo.hasInvalidOperand(getVRegIdx, SkipSrc)) in checkVOPDRegConstraints()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp2564 CodeGenInstruction &InstInfo = in ApplyTypeConstraints() local
3657 if (InstInfo.hasUndefFlags()) in InferFromPattern()
3673 if (InstInfo.mayStore != PatInfo.mayStore && !InstInfo.mayStore_Unset) { in InferFromPattern()
3679 if (InstInfo.mayLoad != PatInfo.mayLoad && !InstInfo.mayLoad_Unset) { in InferFromPattern()
3682 if (!InstInfo.mayLoad) { in InferFromPattern()
4097 if (InstInfo.InferredFrom) in InferInstructionFlags()
4113 if (InstInfo->InferredFrom) in InferInstructionFlags()
4127 if (InstInfo->InferredFrom) in InferInstructionFlags()
4132 if (InstInfo->mayStore_Unset) in InferInstructionFlags()
4135 if (InstInfo->mayLoad_Unset) in InferInstructionFlags()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h728 class InstInfo {
735 InstInfo(const MCInstrDesc &OpX, const MCInstrDesc &OpY) in InstInfo() function
738 InstInfo(const ComponentInfo &OprInfoX, const ComponentInfo &OprInfoY) in InstInfo() function
779 VOPD::InstInfo getVOPDInstInfo(const MCInstrDesc &OpX, const MCInstrDesc &OpY);
783 VOPD::InstInfo
H A DAMDGPUBaseInfo.cpp640 std::optional<unsigned> InstInfo::getInvalidCompOperandIndex( in getInvalidCompOperandIndex()
667 InstInfo::RegIndices InstInfo::getRegIndices( in getRegIndices()
673 InstInfo::RegIndices RegIndices; in getRegIndices()
689 VOPD::InstInfo getVOPDInstInfo(const MCInstrDesc &OpX, const MCInstrDesc &OpY) { in getVOPDInstInfo()
690 return VOPD::InstInfo(OpX, OpY); in getVOPDInstInfo()
693 VOPD::InstInfo getVOPDInstInfo(unsigned VOPDOpcode, in getVOPDInstInfo()
700 return VOPD::InstInfo(OpXInfo, OpYInfo); in getVOPDInstInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1000 CmpInstInfo InstInfo = [&]() -> CmpInstInfo { in EmitCompare() local
1015 return Builder.CreateFCmp(InstInfo.FCmp, LHS, RHS, in EmitCompare()
1016 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
1019 ArgTy->hasSignedIntegerRepresentation() ? InstInfo.SCmp : InstInfo.UCmp; in EmitCompare()
1021 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp87 ParseInstructionInfo *InstInfo; member in __anonb23049e20111::X86AsmParser
1269 : MCTargetAsmParser(Options, sti, mii), InstInfo(nullptr), in X86AsmParser()
2188 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Start, Len); in RewriteIntelExpression()
2195 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Loc, ExprLen); in RewriteIntelExpression()
2212 InstInfo->AsmRewrites->emplace_back(Loc, ExprLen, Expr); in RewriteIntelExpression()
2254 InstInfo->AsmRewrites->emplace_back(AOK_Label, Loc, Identifier.size(), in ParseIntelInlineAsmIdentifier()
3124 InstInfo = &Info; in ParseInstruction()
3221 InstInfo->AsmRewrites->emplace_back(AOK_Skip, NameEndLoc, in ParseInstruction()
4437 InstInfo->AsmRewrites->emplace_back( in MatchAndEmitIntelInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp597 struct InstInfo { struct
603 SmallVector<InstInfo, 4> Insts;
607 InstInfo Info = {I, SPAdjust, BeforeFPSet}; in addInst()
613 llvm::find_if(Insts, [&](InstInfo &Info) { return Info.I == I; }); in addExtraBytes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3648 const auto &InstInfo = getVOPDInstInfo(Opcode, &MII); in validateVOPDRegBankConstraints() local
3650 InstInfo.getInvalidCompOperandIndex(getVRegIdx, SkipSrc); in validateVOPDRegBankConstraints()
3656 std::max(InstInfo[VOPD::X].getIndexInParsedOperands(CompOprIdx), in validateVOPDRegBankConstraints()
3657 InstInfo[VOPD::Y].getIndexInParsedOperands(CompOprIdx)); in validateVOPDRegBankConstraints()
8544 const auto &InstInfo = getVOPDInstInfo(Inst.getOpcode(), &MII); in cvtVOPD() local
8550 addOp(InstInfo[CompIdx].getIndexOfDstInParsedOperands()); in cvtVOPD()
8554 const auto &CInfo = InstInfo[CompIdx]; in cvtVOPD()
8555 auto CompSrcOperandsNum = InstInfo[CompIdx].getCompParsedSrcOperandsNum(); in cvtVOPD()