Searched refs:constOne (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToGPU/ |
| H A D | SCFToGPU.cpp | 225 Value constOne = in createLaunch() local 229 Value gridSizeX = numBlockDims > 0 ? dims[0] : constOne; in createLaunch() 230 Value gridSizeY = numBlockDims > 1 ? dims[1] : constOne; in createLaunch() 231 Value gridSizeZ = numBlockDims > 2 ? dims[2] : constOne; in createLaunch() 232 Value blockSizeX = numThreadDims > 0 ? dims[numBlockDims] : constOne; in createLaunch() 233 Value blockSizeY = numThreadDims > 1 ? dims[numBlockDims + 1] : constOne; in createLaunch() 234 Value blockSizeZ = numThreadDims > 2 ? dims[numBlockDims + 2] : constOne; in createLaunch()
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreISelDAGToDAG.cpp | 266 SDValue constOne = getI32Imm(1, dl); in tryBRIND() local 269 constOne, Chain), 0); in tryBRIND() 272 constOne, Glue), 0); in tryBRIND()
|
| /llvm-project-15.0.7/mlir/test/CAPI/ |
| H A D | ir.c | 156 MlirOperation constOne = mlirOperationCreate(&constOneState); in makeAndDumpAdd() local 157 mlirBlockAppendOwnedOperation(funcBody, constOne); in makeAndDumpAdd() 160 MlirValue constOneValue = mlirOperationGetResult(constOne, 0); in makeAndDumpAdd() 1697 MlirOperation constOne = mlirOperationCreate(&constOneState); in testOperands() local 1698 MlirValue constOneValue = mlirOperationGetResult(constOne, 0); in testOperands() 1726 mlirOperationDestroy(constOne); in testOperands() 1757 MlirOperation constOne = mlirOperationClone(constZero); in testClone() local 1758 mlirOperationSetAttributeByName(constOne, valueStringRef, indexOneLiteral); in testClone() 1761 mlirOperationPrint(constOne, printToStderr, NULL); in testClone() 1766 mlirOperationDestroy(constOne); in testClone()
|