Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTypeUtilities.cpp34 WebAssembly::BlockType WebAssembly::parseBlockType(StringRef Type) { in parseBlockType()
36 return StringSwitch<WebAssembly::BlockType>(Type) in parseBlockType()
37 .Case("i32", WebAssembly::BlockType::I32) in parseBlockType()
38 .Case("i64", WebAssembly::BlockType::I64) in parseBlockType()
39 .Case("f32", WebAssembly::BlockType::F32) in parseBlockType()
40 .Case("f64", WebAssembly::BlockType::F64) in parseBlockType()
41 .Case("v128", WebAssembly::BlockType::V128) in parseBlockType()
42 .Case("funcref", WebAssembly::BlockType::Funcref) in parseBlockType()
43 .Case("externref", WebAssembly::BlockType::Externref) in parseBlockType()
44 .Case("exnref", WebAssembly::BlockType::Exnref) in parseBlockType()
[all …]
H A DWebAssemblyMCTypeUtilities.h25 enum class BlockType : unsigned { enum
74 BlockType parseBlockType(StringRef Type);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp136 MVT BlockType = MVT::i32; in emitConstantSizeRepstos() local
137 const uint64_t BlockBits = BlockType.getSizeInBits(); in emitConstantSizeRepstos()
141 Val = DAG.getConstant(0, dl, BlockType); in emitConstantSizeRepstos()
144 DAG.getIntPtrConstant(BlockCount, dl), BlockType); in emitConstantSizeRepstos()
159 MVT BlockType = MVT::i8; in emitConstantSizeRepstos() local
165 BlockType = getOptimalRepType(Subtarget, Alignment); in emitConstantSizeRepstos()
167 const uint64_t BlockBits = BlockType.getSizeInBits(); in emitConstantSizeRepstos()
181 Val = DAG.getConstant(Value, dl, BlockType); in emitConstantSizeRepstos()
186 DAG.getIntPtrConstant(BlockCount, dl), BlockType); in emitConstantSizeRepstos()
292 const MVT BlockType = getOptimalRepType(Subtarget, Alignment); in emitConstantSizeRepmov() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGStackify.cpp386 WebAssembly::BlockType ReturnType = WebAssembly::BlockType::Void; in placeBlockMarker()
473 .addImm(int64_t(WebAssembly::BlockType::Void)); in placeLoopMarker()
639 .addImm(int64_t(WebAssembly::BlockType::Void)); in placeTryMarker()
848 .addImm(int64_t(WebAssembly::BlockType::Void)) in placeTryTableMarker()
857 WebAssembly::BlockType PtrTy = in placeTryTableMarker()
859 ? WebAssembly::BlockType::I32 in placeTryTableMarker()
860 : WebAssembly::BlockType::I64; in placeTryTableMarker()
881 BlockMIB.addImm(int64_t(WebAssembly::BlockType::Multivalue)); in placeTryTableMarker()
892 BlockMIB.addImm(int64_t(WebAssembly::BlockType::Void)); in placeTryTableMarker()
898 BlockMIB.addImm(int64_t(WebAssembly::BlockType::Exnref)); in placeTryTableMarker()
[all …]
H A DWebAssemblyMCInstLower.cpp231 auto BT = static_cast<WebAssembly::BlockType>(MO.getImm()); in lower()
232 assert(BT != WebAssembly::BlockType::Invalid); in lower()
233 if (BT == WebAssembly::BlockType::Multivalue) { in lower()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h105 const Decl *D, QualType BlockType);
H A DSema.h1057 QualType BlockType = QualType());
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp283 uint32_t BlockType = Inner; in calculateSccBlockType() local
290 BlockType |= Header; in calculateSccBlockType()
295 BlockType |= Exiting; in calculateSccBlockType()
303 if (BlockType != Inner) { in calculateSccBlockType()
306 SccBlockTypes.insert(std::make_pair(BB, BlockType)); in calculateSccBlockType()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp513 WebAssembly::BlockType BT) { in addBlockTypeOperand()
514 if (BT == WebAssembly::BlockType::Void) { in addBlockTypeOperand()
725 addBlockTypeOperand(Operands, NameLoc, WebAssembly::BlockType::Void); in parseInstruction()
742 if (BT == WebAssembly::BlockType::Invalid) in parseInstruction()
822 addBlockTypeOperand(Operands, NameLoc, WebAssembly::BlockType::Void); in parseInstruction()
/freebsd/sys/contrib/edk2/Include/Uefi/
H A DUefiInternalFormRepresentation.h215 UINT8 BlockType; member
345 UINT8 BlockType; member
477 UINT8 BlockType; member
1866 UINT8 BlockType; member
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp233 MCOperand::createImm(int64_t(WebAssembly::BlockType::Invalid))); in getInstruction()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp985 QualType BlockType = Ty->castAs<BlockPointerType>()->getPointeeType(); in isConventional() local
987 return BlockType->castAs<FunctionType>()->getReturnType()->isVoidType(); in isConventional()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp1366 auto *BlockType = in getOrCreateVulkanBufferType() local
1370 buildOpDecorate(BlockType->defs().begin()->getReg(), MIRBuilder, in getOrCreateVulkanBufferType()
1374 buildOpMemberDecorate(BlockType->defs().begin()->getReg(), MIRBuilder, in getOrCreateVulkanBufferType()
1378 SPIRVType *R = getOrCreateSPIRVPointerTypeInternal(BlockType, MIRBuilder, SC); in getOrCreateVulkanBufferType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp790 QualType BlockType, in CheckFallThroughForBody() argument
810 BlockType->getPointeeType()->getAs<FunctionType>()) { in CheckFallThroughForBody()
2845 const Decl *D, QualType BlockType) { in IssueWarnings() argument
2969 CheckFallThroughForBody(S, D, Body, BlockType, CD, AC); in IssueWarnings()
H A DSema.cpp2443 const Decl *D, QualType BlockType) { in PopFunctionScopeInfo() argument
2457 AnalysisWarnings.IssueWarnings(*WP, Scope.get(), D, BlockType); in PopFunctionScopeInfo()
H A DSemaObjC.cpp1707 BlocksAttr::BlockType type; in handleBlocksAttr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1241 let Args = [EnumArgument<"Type", "BlockType", /*is_string=*/true,