Home
last modified time | relevance | path

Searched refs:getKind (Results 1 - 25 of 258) sorted by relevance

1234567891011

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h68 bool isMap() const { return getKind() == Type::Map; } in isMap()
69 bool isArray() const { return getKind() == Type::Array; } in isArray()
71 bool isString() const { return getKind() == Type::String; } in isString()
75 Type getKind() const { return KindAndDoc->Kind; } in getKind() function in llvm::msgpack::DocNode
79 assert(getKind() == Type::Int); in getInt()
84 assert(getKind() == Type::UInt); in getUInt()
89 assert(getKind() == Type::Boolean); in getBool()
94 assert(getKind() == Type::Float); in getFloat()
99 assert(getKind() == Type::Int); in getInt()
104 assert(getKind() in getUInt()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp401 if ((Parser.getTok().getKind() == AsmToken::Plus || in tryParseExpression()
402 Parser.getTok().getKind() == AsmToken::Minus) && in tryParseExpression()
403 Parser.getLexer().peekTok().getKind() == AsmToken::Identifier) { in tryParseExpression()
430 if ((tokens[0].getKind() == AsmToken::Identifier && in tryParseRelocExpression()
431 tokens[1].getKind() == AsmToken::LParen) || in tryParseRelocExpression()
432 (tokens[0].getKind() == AsmToken::LParen && in tryParseRelocExpression()
433 tokens[1].getKind() == AsmToken::Minus)) { in tryParseRelocExpression()
435 AsmToken::TokenKind CurTok = Parser.getLexer().getKind(); in tryParseRelocExpression()
437 tokens[1].getKind() == AsmToken::Minus) { in tryParseRelocExpression()
451 if (Parser.getTok().getKind() ! in tryParseRelocExpression()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp39 switch (getKind()) { in toString()
112 if (getKind() == msgpack::Type::Nil) in getYAMLTag()
118 if (N.getKind() == getKind()) in getYAMLTag()
122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
127 switch (getKind()) { in getYAMLTag()
149 static NodeKind getKind(cons function
[all...]
H A DMsgPackDocument.cpp129 else if (Stack.back().Node.getKind() == Type::Array) { in readFromBlob()
146 switch (Node.getKind()) { in readFromBlob()
157 if (Stack.back().Node.getKind() == msgpack::Type::Array) { in readFromBlob()
186 switch (Node.getKind()) { in writeToBlob()
217 if (Stack.back().Node.getKind() == Type::Map) { in writeToBlob()
229 if (Stack.back().Node.getKind() == Type::Map) { in writeToBlob()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMCSectionXCOFF.cpp22 if (getKind().isText()) { in PrintSwitchToSection()
30 if (getKind().isReadOnly()) { in PrintSwitchToSection()
37 if (getKind().isData()) { in PrintSwitchToSection()
55 if (getKind().isBSSLocal() || getKind().isCommon()) { in PrintSwitchToSection()
71 bool MCSectionXCOFF::UseCodeAlign() const { return getKind().isText(); } in UseCodeAlign()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DDiagnosticInfo.h112 /* DiagnosticKind */ int getKind() const { return Kind; } in getKind() function in llvm::DiagnosticInfo
170 return DI->getKind() == DK_InlineAsm; in classof()
210 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof()
227 return DI->getKind() == DK_StackSize; in classof()
255 return DI->getKind() == DK_DebugMetadataVersion; in classof()
277 return DI->getKind() == DK_DebugMetadataInvalid; in classof()
301 return DI->getKind() == DK_SampleProfile; in classof()
331 return DI->getKind() == DK_PGOProfile; in classof()
480 return (DI->getKind() > in classof()
[all...]
H A DInlineAsm.h275 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;} in isRegDefKind()
276 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; } in isImmKind()
277 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; } in isMemKind()
279 return getKind(Flag) == Kind_RegDefEarlyClobber; in isRegDefEarlyClobberKind()
282 return getKind(Flag) == Kind_Clobber; in isClobberKind()
325 static unsigned getKind(unsigned Flags) { in getKind() function
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceThreading.cpp38 assert(getKind() == WI_Asm || getKind() == WI_Cfg); in setGlobalInits()
43 assert(getKind() == WI_GlobalInits || getKind() == WI_Asm || in getGlobalInits()
44 getKind() == WI_Cfg); in getGlobalInits()
49 assert(getKind() == WI_Asm); in getAsm()
54 assert(getKind() == WI_Cfg); in getCfg()
H A DIceInst.h80 InstKind getKind() const { return Kind; } in getKind() function in Ice::Inst
303 static bool classof(const Inst *Instr) { return Instr->getKind() == Alloca; }
342 return Instr->getKind() == Arithmetic;
369 static bool classof(const Inst *Instr) { return Instr->getKind() == Assign; } in classof()
410 static bool classof(const Inst *Instr) { return Instr->getKind() == Br; } in classof()
451 static bool classof(const Inst *Instr) { return Instr->getKind() == Call; } in classof()
494 static bool classof(const Inst *Instr) { return Instr->getKind() == Cast; } in classof()
518 return Instr->getKind() == ExtractElement; in classof()
549 static bool classof(const Inst *Instr) { return Instr->getKind() == Fcmp; } in classof()
582 static bool classof(const Inst *Instr) { return Instr->getKind()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h158 Kind getKind() const;
160 /// Shorthand for getKind() != SDep::Data.
162 return getKind() != Data; in isCtrl()
169 return getKind() == Order && (Contents.OrdKind == MayAliasMem in isNormalMemory()
175 return getKind() == Order && Contents.OrdKind == Barrier; in isBarrier()
187 return getKind() == Order && Contents.OrdKind == MustAliasMem; in isMustAlias()
195 return getKind() == Order && Contents.OrdKind >= Weak; in isWeak()
201 return getKind() == Order && Contents.OrdKind == Artificial; in isArtificial()
207 return getKind() == Order && Contents.OrdKind == Cluster; in isCluster()
212 return getKind() in isAssignedRegDep()
486 inline SDep::Kind SDep::getKind() const { return Dep.getInt(); } getKind() function in llvm::SUnit::SDep
[all...]
H A DMachineOptimizationRemarkEmitter.h45 return DI->getKind() >= DK_FirstMachineRemark && in classof()
46 DI->getKind() <= DK_LastMachineRemark; in classof()
70 return DI->getKind() == DK_MachineOptimizationRemark; in classof()
96 return DI->getKind() == DK_MachineOptimizationRemarkMissed; in classof()
122 return DI->getKind() == DK_MachineOptimizationRemarkAnalysis; in classof()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
H A DMCFragment.h85 FragmentType getKind() const { return Kind; } in getKind() function in llvm::MCFragment
107 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; } in classof()
130 MCFragment::FragmentType Kind = F->getKind(); in classof()
220 MCFragment::FragmentType Kind = F->getKind(); in classof()
235 return F->getKind() == MCFragment::FT_Data; in classof()
251 return F->getKind() == MCFragment::FT_CompactEncodedInst; in classof()
273 return F->getKind() == MCFragment::FT_Relaxable; in classof()
314 return F->getKind() == MCFragment::FT_Align; in classof()
341 return F->getKind() == MCFragment::FT_Fill; in classof()
368 return F->getKind() in classof()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFAsmBackend.cpp74 if (Fixup.getKind() == FK_SecRel_4 || Fixup.getKind() == FK_SecRel_8) { in applyFixup()
81 } else if (Fixup.getKind() == FK_Data_4) { in applyFixup()
83 } else if (Fixup.getKind() == FK_Data_8) { in applyFixup()
85 } else if (Fixup.getKind() == FK_PCRel_4) { in applyFixup()
95 assert(Fixup.getKind() == FK_PCRel_2); in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp211 // The value of getKind() that is given to MCValue is only intended to aid in evaluateAsRelocatableImpl()
215 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl()
225 switch (Expr->getKind()) { in fixELFSymbolsInTLSFixupsImpl()
251 switch (getKind()) { in fixELFSymbolsInTLSFixups()
292 if (getKind() == MEK_HI || getKind() == MEK_LO) { in isGpOff()
295 if (S1->getKind() == MEK_NEG && S2->getKind() == MEK_GPREL) { in isGpOff()
296 Kind = getKind(); in isGpOff()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp69 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
74 if (Sym->getKind() == MCSymbolRefExpr::VK_GOT) in getAArch64FixupKindMachOInfo()
84 switch (Sym->getKind()) { in getAArch64FixupKindMachOInfo()
100 switch (Sym->getKind()) { in getAArch64FixupKindMachOInfo()
155 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation()
163 unsigned Kind = Fixup.getKind(); in recordRelocation()
229 if (Target.getSymA()->getKind() == MCSymbolRefExpr::VK_GOT && in recordRelocation()
230 Target.getSymB()->getKind() == MCSymbolRefExpr::VK_None && in recordRelocation()
241 } else if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None || in recordRelocation()
242 Target.getSymB()->getKind() ! in recordRelocation()
[all...]
H A DAArch64WinCOFFObjectWriter.cpp48 : Target.getSymA()->getKind(); in getRelocType()
51 switch (static_cast<unsigned>(Fixup.getKind())) { in getRelocType()
53 const MCFixupKindInfo &Info = MAB.getFixupKindInfo(Fixup.getKind()); in getRelocType()
78 AArch64MCExpr::VariantKind RefKind = A64E->getKind(); in getRelocType()
92 AArch64MCExpr::VariantKind RefKind = A64E->getKind(); in getRelocType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
H A DLLParser.cpp85 if (Lex.getKind() != lltok::Eof) in parseStandaloneConstantValue()
301 switch (Lex.getKind()) { in ParseTopLevelEntities()
319 switch (Lex.getKind()) { in ParseTopLevelEntities()
355 assert(Lex.getKind() == lltok::kw_module); in ParseModuleAsm()
370 assert(Lex.getKind() == lltok::kw_target); in ParseTargetDefinition()
395 assert(Lex.getKind() == lltok::kw_source_filename); in ParseSourceFileName()
410 assert(Lex.getKind() == lltok::kw_deplibs); in ParseDepLibs()
482 assert(Lex.getKind() == lltok::kw_declare); in ParseDeclare()
486 while (Lex.getKind() == lltok::MetadataVar) { in ParseDeclare()
505 assert(Lex.getKind() in ParseDefine()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp237 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI; in isHiImm16()
243 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI; in isHiImm16()
274 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16()
280 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16()
298 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16Signed()
304 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16Signed()
345 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None; in isLoImm21()
348 return SymbolRefExpr->getKind() == MCSymbolRefExpr::VK_None; in isLoImm21()
355 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None; in isLoImm21()
358 return SymbolRefExpr->getKind() in isLoImm21()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCExpr.cpp37 VariantKind Kind = getKind(); in printImpl()
42 OS << '%' << getVariantKindName(getKind()) << '('; in printImpl()
77 switch ((unsigned)F.getKind()) { in getPCRelHiFixup()
101 switch (getKind()) { in evaluateAsRelocatableImpl()
168 switch (Expr->getKind()) { in fixELFSymbolsInTLSFixupsImpl()
197 switch (getKind()) { in fixELFSymbolsInTLSFixups()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_arm64.cpp390 return E.getKind() == GOTPage21 || E.getKind() == GOTPageOffset12 || in isGOTEdge()
391 E.getKind() == PointerToGOT; in isGOTEdge()
402 if (E.getKind() == GOTPage21 || E.getKind() == GOTPageOffset12) { in fixGOTEdge()
405 } else if (E.getKind() == PointerToGOT) { in fixGOTEdge()
413 return E.getKind() == Branch26 && !E.getTarget().isDefined(); in isExternalBranchEdge()
426 assert(E.getKind() == Branch26 && "Not a Branch32 edge?"); in fixExternalBranchEdge()
501 printEdge(ErrStream, B, E, getMachOARM64RelocationKindName(E.getKind())); in targetOutOfRangeError()
535 switch (E.getKind()) { in applyFixup()
[all...]
H A DMachO_x86_64.cpp357 return E.getKind() == PCRel32GOT || E.getKind() == PCRel32GOTLoad; in isGOTEdge()
368 assert((E.getKind() == PCRel32GOT || E.getKind() == PCRel32GOTLoad) && in fixGOTEdge()
376 return E.getKind() == Branch32 && !E.getTarget().isDefined(); in isExternalBranchEdge()
389 assert(E.getKind() == Branch32 && "Not a Branch32 edge?"); in fixExternalBranchEdge()
461 printEdge(ErrStream, B, E, getMachOX86RelocationKindName(E.getKind())); in targetOutOfRangeError()
474 switch (E.getKind()) { in applyFixup()
495 int Delta = 4 + (1 << (E.getKind() - PCRel32Minus1)); in applyFixup()
507 int Delta = 4 + (1 << (E.getKind() in applyFixup()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMWinCOFFObjectWriter.cpp54 Target.isAbsolute() ? MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); in getRelocType()
56 switch (static_cast<unsigned>(Fixup.getKind())) { in getRelocType()
58 const MCFixupKindInfo &Info = MAB.getFixupKindInfo(Fixup.getKind()); in getRelocType()
88 return static_cast<unsigned>(Fixup.getKind()) != ARM::fixup_t2_movt_hi16; in recordRelocation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DDDG.cpp78 OS << "Node Address:" << &N << ":" << N.getKind() << "\n"; in operator <<()
111 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode()
112 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode()
118 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode()
119 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode()
136 assert(getKind() == NodeKind::PiBlock && !NodeList.empty() && in PiBlockDDGNode()
142 assert(getKind() == NodeKind::PiBlock && !NodeList.empty() && in PiBlockDDGNode()
173 OS << "[" << E.getKind() << "] to " << &E.getTargetNode() << "\n"; in operator <<()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation()
107 unsigned IsRIPRel = isFixupKindRIPRel(Fixup.getKind()); in RecordX86_64Relocation()
108 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in RecordX86_64Relocation()
156 if (Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None) { in RecordX86_64Relocation()
272 MCSymbolRefExpr::VariantKind Modifier = Target.getSymA()->getKind(); in RecordX86_64Relocation()
373 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordScatteredRelocation()
471 assert(SymA->getKind() == MCSymbolRefExpr::VK_TLVP && !is64Bit() && in recordTLVPRelocation()
474 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in recordTLVPRelocation()
510 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86Relocation()
511 unsigned Log2Size = getFixupKindLog2Size(Fixup.getKind()); in RecordX86Relocation()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
H A DOption.cpp35 assert(getKind() == FlagClass && "Only Flag aliases can have alias args."); in Option()
36 assert(getAlias().getKind() != FlagClass && in Option()
43 switch (getKind()) { in print()
83 if (getKind() == MultiArgClass) in print()
112 switch (getKind()) { in acceptInternal()
265 if (getKind() != FlagClass) { in accept()
286 if (UnaliasedOption.getKind() == JoinedClass && !getAliasArgs()) in accept()

Completed in 19 milliseconds

1234567891011