Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/program/
Dprog_instruction.c94 static const struct instruction_info InstInfo[MAX_OPCODE] = { variable
165 assert(opcode == InstInfo[opcode].Opcode); in _mesa_num_inst_src_regs()
166 assert(OPCODE_XPD == InstInfo[OPCODE_XPD].Opcode); in _mesa_num_inst_src_regs()
167 return InstInfo[opcode].NumSrcRegs; in _mesa_num_inst_src_regs()
178 assert(opcode == InstInfo[opcode].Opcode); in _mesa_num_inst_dst_regs()
179 assert(OPCODE_XPD == InstInfo[OPCODE_XPD].Opcode); in _mesa_num_inst_dst_regs()
180 return InstInfo[opcode].NumDstRegs; in _mesa_num_inst_dst_regs()
252 return InstInfo[opcode].Name; in _mesa_opcode_string()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp1243 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults() local
1245 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs; in GetNumNodeResults()
1248 for (unsigned i = 0; i != InstInfo.Operands.NumDefs; ++i) { in GetNumNodeResults()
1249 Record *OperandNode = InstInfo.Operands[i].Rec; in GetNumNodeResults()
1257 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
1823 CodeGenInstruction &InstInfo = in ApplyTypeConstraints() local
1830 unsigned NumResultsToAdd = std::min(InstInfo.Operands.NumDefs, in ApplyTypeConstraints()
1837 if (!InstInfo.ImplicitDefs.empty()) { in ApplyTypeConstraints()
1843 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
1942 if (!InstInfo.Operands.isVariadic && ChildNo != getNumChildren()) { in ApplyTypeConstraints()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DADCE.cpp129 DenseMap<Instruction *, InstInfoType> InstInfo; member in __anon684284570111::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()
578 InstInfo[Info.Terminator].Live = true; in updateDeadRegions()
663 InstInfo[PredTerm].Live = true; in makeUnconditional()
670 InstInfo[NewTerm].Live = true; in makeUnconditional()
674 InstInfo.erase(PredTerm); in makeUnconditional()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DADCE.cpp129 DenseMap<Instruction *, InstInfoType> InstInfo; member in __anonb014e6cb0111::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()
577 InstInfo[Info.Terminator].Live = true; in updateDeadRegions()
659 InstInfo[PredTerm].Live = true; in makeUnconditional()
666 InstInfo[NewTerm].Live = true; in makeUnconditional()
670 InstInfo.erase(PredTerm); in makeUnconditional()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp1814 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults() local
1816 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs; in GetNumNodeResults()
1819 for (unsigned i = 0; i != InstInfo.Operands.NumDefs; ++i) { in GetNumNodeResults()
1820 Record *OperandNode = InstInfo.Operands[i].Rec; in GetNumNodeResults()
1828 if (InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()) !=MVT::Other) in GetNumNodeResults()
2463 CodeGenInstruction &InstInfo = in ApplyTypeConstraints() local
2470 unsigned NumResultsToAdd = std::min(InstInfo.Operands.NumDefs, in ApplyTypeConstraints()
2477 if (!InstInfo.ImplicitDefs.empty()) { in ApplyTypeConstraints()
2483 InstInfo.HasOneImplicitDefWithKnownVT(CDP.getTargetInfo()); in ApplyTypeConstraints()
2526 unsigned NumFixedOperands = InstInfo.Operands.size(); in ApplyTypeConstraints()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp60 ParseInstructionInfo *InstInfo; member in __anond14900950111::X86AsmParser
805 : MCTargetAsmParser(Options, sti), MII(mii), InstInfo(nullptr) { in X86AsmParser()
1169 InstInfo->AsmRewrites->emplace_back(AOK_SizeDirective, Start, in CreateMemForInlineAsm()
1189 InstInfo->AsmRewrites->emplace_back(AOK_SizeDirective, Start, in CreateMemForInlineAsm()
1330 InstInfo->AsmRewrites->emplace_back(AOK_ImmPrefix, Tok.getLoc()); in ParseIntelExpression()
1410 RewriteIntelBracExpression(*InstInfo->AsmRewrites, SM.getSymName(), in ParseIntelBracExpression()
1502 InstInfo->AsmRewrites->emplace_back(AOK_Label, Loc, Identifier.size(), in ParseIntelIdentifier()
1530 InstInfo->AsmRewrites->emplace_back(AOK_ImmPrefix, ImmDispToken.getLoc()); in ParseIntelSegmentOverride()
1699 InstInfo->AsmRewrites->emplace_back(AOK_DotOperator, Loc, Len, Val); in ParseIntelDotOperator()
1723 InstInfo->AsmRewrites->emplace_back(AOK_Skip, OffsetOfLoc, 7); in ParseIntelOffsetOfOperator()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp72 ParseInstructionInfo *InstInfo; member in __anon7e5fbfb70111::X86AsmParser
1016 : MCTargetAsmParser(Options, sti, mii), InstInfo(nullptr), in X86AsmParser()
1418 InstInfo->AsmRewrites->emplace_back(AOK_SizeDirective, Start, in CreateMemForInlineAsm()
1659 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Start, Len); in RewriteIntelExpression()
1666 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Loc, ExprLen); in RewriteIntelExpression()
1683 InstInfo->AsmRewrites->emplace_back(Loc, ExprLen, Expr); in RewriteIntelExpression()
1725 InstInfo->AsmRewrites->emplace_back(AOK_Label, Loc, Identifier.size(), in ParseIntelInlineAsmIdentifier()
2407 InstInfo = &Info; in ParseInstruction()
2466 InstInfo->AsmRewrites->emplace_back(AOK_Skip, NameEndLoc, in ParseInstruction()
3546 InstInfo->AsmRewrites->emplace_back( in MatchAndEmitIntelInstruction()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp971 CmpInstInfo InstInfo = [&]() -> CmpInstInfo { in EmitCompare() local
986 return Builder.CreateFCmp(InstInfo.FCmp, LHS, RHS, in EmitCompare()
987 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
990 ArgTy->hasSignedIntegerRepresentation() ? InstInfo.SCmp : InstInfo.UCmp; in EmitCompare()
992 llvm::Twine(InstInfo.Name) + NameSuffix); in EmitCompare()
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp85 ParseInstructionInfo *InstInfo; member in __anona5c84dc30111::X86AsmParser
1245 : MCTargetAsmParser(Options, sti, mii), InstInfo(nullptr), in X86AsmParser()
1736 InstInfo->AsmRewrites->emplace_back(AOK_SizeDirective, Start, in CreateMemForMSInlineAsm()
2149 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Start, Len); in RewriteIntelExpression()
2156 InstInfo->AsmRewrites->emplace_back(AOK_Skip, Loc, ExprLen); in RewriteIntelExpression()
2173 InstInfo->AsmRewrites->emplace_back(Loc, ExprLen, Expr); in RewriteIntelExpression()
2215 InstInfo->AsmRewrites->emplace_back(AOK_Label, Loc, Identifier.size(), in ParseIntelInlineAsmIdentifier()
3021 InstInfo = &Info; in ParseInstruction()
3113 InstInfo->AsmRewrites->emplace_back(AOK_Skip, NameEndLoc, in ParseInstruction()
4526 InstInfo->AsmRewrites->emplace_back( in MatchAndEmitIntelInstruction()
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp184 struct InstInfo { struct
190 SmallVector<InstInfo, 4> Insts;
194 InstInfo Info = {I, SPAdjust, BeforeFPSet}; in addInst()
200 [&](InstInfo &Info) { return Info.I == I; }); in addExtraBytes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFrameLowering.cpp230 struct InstInfo { struct
236 SmallVector<InstInfo, 4> Insts;
240 InstInfo Info = {I, SPAdjust, BeforeFPSet}; in addInst()
246 llvm::find_if(Insts, [&](InstInfo &Info) { return Info.I == I; }); in addExtraBytes()
/external/llvm-project/llvm/lib/Target/ARM/
DARMFrameLowering.cpp209 struct InstInfo { struct
215 SmallVector<InstInfo, 4> Insts;
219 InstInfo Info = {I, SPAdjust, BeforeFPSet}; in addInst()
225 llvm::find_if(Insts, [&](InstInfo &Info) { return Info.I == I; }); in addExtraBytes()