Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp134 DenseMap<Instruction *, InstInfoType> InstInfo; member in __anonf15092a00111::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()
602 InstInfo[Info.Terminator].Live = true; in updateDeadRegions()
687 InstInfo[PredTerm].Live = true; in makeUnconditional()
694 InstInfo[NewTerm].Live = true; in makeUnconditional()
698 InstInfo.erase(PredTerm); in makeUnconditional()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp1966 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults() local
1968 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs; in GetNumNodeResults()
1971 for (unsigned i = 0; i != InstInfo.Operands.NumDefs; ++i) { in GetNumNodeResults()
1972 const Record *OperandNode = InstInfo.Operands[i].Rec; in GetNumNodeResults()
1980 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) != in GetNumNodeResults()
2624 CodeGenInstruction &InstInfo = in ApplyTypeConstraints() local
2632 std::min(InstInfo.Operands.NumDefs, Inst.getNumResults()); in ApplyTypeConstraints()
2638 if (!InstInfo.ImplicitDefs.empty()) { in ApplyTypeConstraints()
2644 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
2687 unsigned NumFixedOperands = InstInfo.Operands.size(); in ApplyTypeConstraints()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNCreateVOPD.cpp76 auto InstInfo = in doReplace() local
80 auto MCOprIdx = InstInfo[CompIdx].getIndexOfDstInMCOperands(); in doReplace()
95 auto CompSrcOprNum = InstInfo[CompIdx].getCompSrcOperandsNum(); in doReplace()
104 InstInfo[CompIdx].getIndexOfSrcInMCOperands(CompSrcIdx, IsVOP3); in doReplace()
H A DGCNVOPDUtils.cpp85 auto InstInfo = in checkVOPDRegConstraints() local
103 if (InstInfo[CompIdx].hasMandatoryLiteral()) { in checkVOPDRegConstraints()
107 auto CompOprIdx = InstInfo[CompIdx].getMandatoryLiteralCompOperandIndex(); in checkVOPDRegConstraints()
160 if (InstInfo.hasInvalidOperand(getVRegIdx, *TRI, SkipSrc, AllowSameVGPR, in checkVOPDRegConstraints()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp275 json::Array InstInfo; in toJSON() local
280 InstInfo.push_back(std::move(JO)); in toJSON()
282 return json::Object({{"InstructionList", json::Value(std::move(InstInfo))}}); in toJSON()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h889 class InstInfo {
896 InstInfo(const MCInstrDesc &OpX, const MCInstrDesc &OpY) in InstInfo() function
899 InstInfo(const ComponentInfo &OprInfoX, const ComponentInfo &OprInfoY) in InstInfo() function
953 VOPD::InstInfo getVOPDInstInfo(const MCInstrDesc &OpX, const MCInstrDesc &OpY);
957 VOPD::InstInfo getVOPDInstInfo(unsigned VOPDOpcode,
H A DAMDGPUBaseInfo.cpp862 std::optional<unsigned> InstInfo::getInvalidCompOperandIndex( in getInvalidCompOperandIndex()
928 InstInfo::RegIndices
929 InstInfo::getRegIndices(unsigned CompIdx, in getRegIndices()
935 InstInfo::RegIndices RegIndices; in getRegIndices()
952 VOPD::InstInfo getVOPDInstInfo(const MCInstrDesc &OpX, const MCInstrDesc &OpY) { in getVOPDInstInfo()
953 return VOPD::InstInfo(OpX, OpY); in getVOPDInstInfo()
956 VOPD::InstInfo getVOPDInstInfo(unsigned VOPDOpcode, in getVOPDInstInfo()
964 return VOPD::InstInfo(OpXInfo, OpYInfo); in getVOPDInstInfo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1147 CmpInstInfo InstInfo = [&]() -> CmpInstInfo { in EmitCompare() local
1162 return Builder.CreateFCmp(InstInfo.FCmp, LHS, RHS, in EmitCompare()
1163 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
1166 ArgTy->hasSignedIntegerRepresentation() ? InstInfo.SCmp : InstInfo.UCmp; in EmitCompare()
1168 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp92 ParseInstructionInfo *InstInfo; member in __anonee973c6c0111::X86AsmParser
1299 : MCTargetAsmParser(Options, sti, mii), InstInfo(nullptr), in X86AsmParser()
2218 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Start, Len); in RewriteIntelExpression()
2225 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Loc, ExprLen); in RewriteIntelExpression()
2242 InstInfo->AsmRewrites->emplace_back(Loc, ExprLen, Expr); in RewriteIntelExpression()
2284 InstInfo->AsmRewrites->emplace_back(AOK_Label, Loc, Identifier.size(), in ParseIntelInlineAsmIdentifier()
3214 InstInfo = &Info; in parseInstruction()
3315 InstInfo->AsmRewrites->emplace_back(AOK_Skip, NameEndLoc, in parseInstruction()
4620 InstInfo->AsmRewrites->emplace_back( in matchAndEmitIntelInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp736 struct InstInfo { struct
750 SmallVector<InstInfo, 4> Insts;
754 InstInfo Info = {I, SPAdjust, BeforeFPSet}; in addInst()
760 llvm::find_if(Insts, [&](InstInfo &Info) { return Info.I == I; }); in addExtraBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3984 const auto &InstInfo = getVOPDInstInfo(Opcode, &MII); in checkVOPDRegBankConstraints() local
3985 auto InvalidCompOprIdx = InstInfo.getInvalidCompOperandIndex( in checkVOPDRegBankConstraints()
4011 const auto &InstInfo = getVOPDInstInfo(Opcode, &MII); in validateVOPD() local
4013 std::max(InstInfo[VOPD::X].getIndexInParsedOperands(CompOprIdx), in validateVOPD()
4014 InstInfo[VOPD::Y].getIndexInParsedOperands(CompOprIdx)); in validateVOPD()
9464 const auto &InstInfo = getVOPDInstInfo(Inst.getOpcode(), &MII); in cvtVOPD() local
9470 addOp(InstInfo[CompIdx].getIndexOfDstInParsedOperands()); in cvtVOPD()
9474 const auto &CInfo = InstInfo[CompIdx]; in cvtVOPD()
9475 auto CompSrcOperandsNum = InstInfo[CompIdx].getCompParsedSrcOperandsNum(); in cvtVOPD()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp297 CodeGenInstruction &InstInfo = Target.getInstruction(Dst.getOperator()); in getInstResultType() local
298 if (!InstInfo.Operands.NumDefs) in getInstResultType()