Home
last modified time | relevance | path

Searched defs:caseValues (Results 1 – 10 of 10) sorted by relevance

/llvm-project/mlir/lib/Dialect/ControlFlow/IR/
H A DControlFlowOps.cpp470 DenseIntElementsAttr caseValues, in build() argument
479 ArrayRef<APInt> caseValues, BlockRange caseDestinations, in build() argument
493 ArrayRef<int32_t> caseValues, BlockRange caseDestinations, in build() argument
511 parseSwitchOpCases(OpAsmParser & parser,Type & flagType,Block * & defaultDestination,SmallVectorImpl<OpAsmParser::UnresolvedOperand> & defaultOperands,SmallVectorImpl<Type> & defaultOperandTypes,DenseIntElementsAttr & caseValues,SmallVectorImpl<Block * > & caseDestinations,SmallVectorImpl<SmallVector<OpAsmParser::UnresolvedOperand>> & caseOperands,SmallVectorImpl<SmallVector<Type>> & caseOperandTypes) parseSwitchOpCases() argument
562 printSwitchOpCases(OpAsmPrinter & p,SwitchOp op,Type flagType,Block * defaultDestination,OperandRange defaultOperands,TypeRange defaultOperandTypes,DenseIntElementsAttr caseValues,SuccessorRange caseDestinations,OperandRangeRange caseOperands,const TypeRangeRange & caseOperandTypes) printSwitchOpCases() argument
583 auto caseValues = getCaseValues(); verify() local
612 std::optional<DenseIntElementsAttr> caseValues = getCaseValues(); getSuccessorForOperands() local
657 auto caseValues = op.getCaseValues(); dropSwitchCasesThatMatchDefault() local
689 auto caseValues = op.getCaseValues(); foldSwitch() local
734 auto caseValues = op.getCaseValues(); simplifyPassThroughSwitch() local
883 auto caseValues = op.getCaseValues(); simplifySwitchFromDefaultSwitchOnSameCondition() local
[all...]
/llvm-project/mlir/lib/Conversion/ControlFlowToSCF/
H A DControlFlowToSCF.cpp52 if (auto caseValues = switchOp.getCaseValues()) createStructuredBranchRegionOp() local
119 createCFGSwitchOp(Location loc,OpBuilder & builder,Value flag,ArrayRef<unsigned int> caseValues,BlockRange caseDestinations,ArrayRef<ValueRange> caseArguments,Block * defaultDest,ValueRange defaultArgs) createCFGSwitchOp() argument
/llvm-project/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp659 SmallVector<int32_t> caseValues; matchAndRewrite() local
/llvm-project/mlir/test/lib/Dialect/Test/
H A DTestFormatUtils.cpp275 SmallVector<int64_t> caseValues; in parseSwitchCases() local
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp454 build(OpBuilder & builder,OperationState & result,Value value,Block * defaultDestination,ValueRange defaultOperands,DenseIntElementsAttr caseValues,BlockRange caseDestinations,ArrayRef<ValueRange> caseOperands,ArrayRef<int32_t> branchWeights) build() argument
468 build(OpBuilder & builder,OperationState & result,Value value,Block * defaultDestination,ValueRange defaultOperands,ArrayRef<APInt> caseValues,BlockRange caseDestinations,ArrayRef<ValueRange> caseOperands,ArrayRef<int32_t> branchWeights) build() argument
484 build(OpBuilder & builder,OperationState & result,Value value,Block * defaultDestination,ValueRange defaultOperands,ArrayRef<int32_t> caseValues,BlockRange caseDestinations,ArrayRef<ValueRange> caseOperands,ArrayRef<int32_t> branchWeights) build() argument
501 parseSwitchOpCases(OpAsmParser & parser,Type flagType,DenseIntElementsAttr & caseValues,SmallVectorImpl<Block * > & caseDestinations,SmallVectorImpl<SmallVector<OpAsmParser::UnresolvedOperand>> & caseOperands,SmallVectorImpl<SmallVector<Type>> & caseOperandTypes) parseSwitchOpCases() argument
543 printSwitchOpCases(OpAsmPrinter & p,SwitchOp op,Type flagType,DenseIntElementsAttr caseValues,SuccessorRange caseDestinations,OperandRangeRange caseOperands,const TypeRangeRange & caseOperandTypes) printSwitchOpCases() argument
[all...]
/llvm-project/mlir/lib/Transforms/Utils/
H A DCFGToSCF.cpp332 SmallVector<unsigned> caseValues; member in __anoncfa425e90111::EdgeMultiplexer
/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
H A DAsyncToLLVM.cpp547 llvm::SmallVector<int32_t, 2> caseValues = {0, 1}; matchAndRewrite() local
/llvm-project/mlir/lib/Target/LLVMIR/
H A DModuleImport.cpp1424 SmallVector<APInt> caseValues(numCases); convertInstruction() local
/llvm-project/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp4170 SmallVector<int64_t> caseValues; parseSwitchCases() local
/llvm-project/flang/lib/Optimizer/CodeGen/
H A DCodeGen.cpp3067 llvm::SmallVector<int32_t> caseValues; selectMatchAndRewrite() local