Home
last modified time | relevance | path

Searched refs:BlockType (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp45 WebAssembly::BlockType WebAssembly::parseBlockType(StringRef Type) { in parseBlockType()
47 return StringSwitch<WebAssembly::BlockType>(Type) in parseBlockType()
48 .Case("i32", WebAssembly::BlockType::I32) in parseBlockType()
49 .Case("i64", WebAssembly::BlockType::I64) in parseBlockType()
50 .Case("f32", WebAssembly::BlockType::F32) in parseBlockType()
51 .Case("f64", WebAssembly::BlockType::F64) in parseBlockType()
52 .Case("v128", WebAssembly::BlockType::V128) in parseBlockType()
53 .Case("funcref", WebAssembly::BlockType::Funcref) in parseBlockType()
54 .Case("externref", WebAssembly::BlockType::Externref) in parseBlockType()
55 .Case("void", WebAssembly::BlockType::Void) in parseBlockType()
[all …]
H A DWebAssemblyTypeUtilities.h31 enum class BlockType : unsigned { enum
93 BlockType parseBlockType(StringRef Type);
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dblock-ptr-type-crash.m13 typedef void (^BlockType)(void);
21 BlockType handler;
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp225 auto BT = static_cast<WebAssembly::BlockType>(MO.getImm()); in lower()
226 assert(BT != WebAssembly::BlockType::Invalid); in lower()
227 if (BT == WebAssembly::BlockType::Multivalue) { in lower()
H A DWebAssemblyCFGStackify.cpp354 WebAssembly::BlockType ReturnType = WebAssembly::BlockType::Void; in placeBlockMarker()
437 .addImm(int64_t(WebAssembly::BlockType::Void)); in placeLoopMarker()
607 .addImm(int64_t(WebAssembly::BlockType::Void)); in placeTryMarker()
875 .addImm(int64_t(WebAssembly::BlockType::Void)); in addTryDelegate()
1478 WebAssembly::BlockType RetType = in fixEndsAtEndOfFunction()
1480 ? WebAssembly::BlockType::Multivalue in fixEndsAtEndOfFunction()
1481 : WebAssembly::BlockType( in fixEndsAtEndOfFunction()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp226 const MVT BlockType = getOptimalRepmovsType(Subtarget, Align); in emitConstantSizeRepmov() local
227 const uint64_t BlockBytes = BlockType.getSizeInBits() / 8; in emitConstantSizeRepmov()
232 DAG.getIntPtrConstant(BlockCount, dl), BlockType); in emitConstantSizeRepmov()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h96 const Decl *D, QualType BlockType);
H A DSema.h1948 QualType BlockType = QualType());
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp286 uint32_t BlockType = Inner; in calculateSccBlockType() local
293 BlockType |= Header; in calculateSccBlockType()
298 BlockType |= Exiting; in calculateSccBlockType()
306 if (BlockType != Inner) { in calculateSccBlockType()
309 SccBlockTypes.insert(std::make_pair(BB, BlockType)); in calculateSccBlockType()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp471 WebAssembly::BlockType BT) { in addBlockTypeOperand()
472 if (BT != WebAssembly::BlockType::Void) { in addBlockTypeOperand()
667 if (BT == WebAssembly::BlockType::Invalid) in ParseInstruction()
736 addBlockTypeOperand(Operands, NameLoc, WebAssembly::BlockType::Void); in ParseInstruction()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp229 MCOperand::createImm(int64_t(WebAssembly::BlockType::Invalid))); in getInstruction()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dkindof.m450 typedef void (^BlockType)(int);
451 NSGeneric<BlockType> *generic;
/llvm-project-15.0.7/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp638 QualType BlockType, in CheckFallThroughForBody() argument
660 BlockType->getPointeeType()->getAs<FunctionType>()) { in CheckFallThroughForBody()
2207 const Decl *D, QualType BlockType) { in IssueWarnings() argument
2331 CheckFallThroughForBody(S, D, Body, BlockType, CD, AC, fscope); in IssueWarnings()
H A DSema.cpp2192 const Decl *D, QualType BlockType) { in PopFunctionScopeInfo() argument
2205 AnalysisWarnings.IssueWarnings(*WP, Scope.get(), D, BlockType); in PopFunctionScopeInfo()
H A DSemaDeclAttr.cpp3022 BlocksAttr::BlockType type; in handleBlocksAttr()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCalledOnceCheck.cpp986 QualType BlockType = Ty->castAs<BlockPointerType>()->getPointeeType(); in isConventional() local
988 return BlockType->castAs<FunctionType>()->getReturnType()->isVoidType(); in isConventional()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td953 let Args = [EnumArgument<"Type", "BlockType", ["byref"], ["ByRef"]>];