Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/IR/
DTypes.cpp34 if (auto intTy = dyn_cast<IntegerType>()) in isInteger() local
35 return intTy.getWidth() == width; in isInteger()
40 if (auto intTy = dyn_cast<IntegerType>()) in isSignlessInteger() local
41 return intTy.isSignless(); in isSignlessInteger()
46 if (auto intTy = dyn_cast<IntegerType>()) in isSignlessInteger() local
47 return intTy.isSignless() && intTy.getWidth() == width; in isSignlessInteger()
52 if (auto intTy = dyn_cast<IntegerType>()) in isSignedInteger() local
53 return intTy.isSigned(); in isSignedInteger()
58 if (auto intTy = dyn_cast<IntegerType>()) in isSignedInteger() local
59 return intTy.isSigned() && intTy.getWidth() == width; in isSignedInteger()
[all …]
/external/llvm-project/mlir/unittests/IR/
DAttributeTest.cpp97 IntegerType intTy = IntegerType::get(intWidth, &context); in TEST() local
100 testSplat(intTy, value); in TEST()
105 IntegerType intTy = IntegerType::get(32, &context); in TEST() local
108 testSplat(intTy, value); in TEST()
113 IntegerType intTy = IntegerType::get(85, &context); in TEST() local
114 Attribute value = IntegerAttr::get(intTy, 109); in TEST()
116 testSplat(intTy, value); in TEST()
/external/llvm-project/clang/test/FixIt/
Dfixit-function-call.cpp9 typedef int intTy; typedef
14 void f1(intTy &a);
42 void m(intTy &a, int *b); // match 1
/external/clang/test/FixIt/
Dfixit-function-call.cpp9 typedef int intTy; typedef
14 void f1(intTy &a);
42 void m(intTy &a, int *b); // match 1
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp219 if (auto intTy = dyn_cast<llvm::IntegerType>(type)) { in addTypedData() local
220 if (!isLegalIntegerType(CGM, intTy)) in addTypedData()
613 llvm::IntegerType *intTy) { in isLegalIntegerType() argument
614 auto size = intTy->getBitWidth(); in isLegalIntegerType()
DTargetInfo.cpp117 } else if (auto intTy = dyn_cast<llvm::IntegerType>(type)) { in occupiesMoreThan() local
119 intCount += (intTy->getBitWidth() + ptrWidth - 1) / ptrWidth; in occupiesMoreThan()
/external/llvm-project/clang/lib/CodeGen/
DSwiftCallingConv.cpp235 if (auto intTy = dyn_cast<llvm::IntegerType>(type)) { in addTypedData() local
236 if (!isLegalIntegerType(CGM, intTy)) in addTypedData()
672 llvm::IntegerType *intTy) { in isLegalIntegerType() argument
673 auto size = intTy->getBitWidth(); in isLegalIntegerType()
DTargetInfo.cpp134 } else if (auto intTy = dyn_cast<llvm::IntegerType>(type)) { in occupiesMoreThan() local
136 intCount += (intTy->getBitWidth() + ptrWidth - 1) / ptrWidth; in occupiesMoreThan()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMTypes.cpp49 .Case<LLVMIntegerType>([](LLVMIntegerType intTy) { in getPrimitiveSizeInBits() argument
50 return llvm::TypeSize::Fixed(intTy.getBitWidth()); in getPrimitiveSizeInBits()
/external/llvm-project/clang/include/clang/CodeGen/
DConstantInitBuilder.h197 void addInt(llvm::IntegerType *intTy, uint64_t value,
199 add(llvm::ConstantInt::get(intTy, value, isSigned));
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp1349 } else if (auto intTy = eltType.dyn_cast<IntegerType>()) { in matchAndRewrite() local
1353 unsigned width = intTy.getWidth(); in matchAndRewrite()
1354 if (intTy.isUnsigned()) { in matchAndRewrite()
1363 assert(intTy.isSignless() || intTy.isSigned()); in matchAndRewrite()
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp250 mlir::Type intTy; in parseDerived() local
252 parser.parseType(intTy)) { in parseDerived()
256 lenParamList.emplace_back(lenparam, intTy); in parseDerived()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp681 Integer intTy(32, true); in TEST() local
682 EXPECT_EQ(manager.GetId(&intTy), 3u); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp681 Integer intTy(32, true); in TEST() local
682 EXPECT_EQ(manager.GetId(&intTy), 3u); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtype_manager_test.cpp681 Integer intTy(32, true); in TEST() local
682 EXPECT_EQ(manager.GetId(&intTy), 3u); in TEST()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp363 llvm::IntegerType *intTy = llvm::cast<llvm::IntegerType>(ty->getElementType()); in lowerMulHigh() local
364 llvm::Value *mulh = jit->builder->CreateAShr(mult, intTy->getBitWidth()); in lowerMulHigh()
932 auto intTy = llvm::IntegerType::get(*jit->context, sizeof(int) * 8); in createLoad() local
936 auto funcTy = llvm::FunctionType::get(voidTy, { sizetTy, i8PtrTy, i8PtrTy, intTy }, false); in createLoad()
944 … llvm::ConstantInt::get(intTy, uint64_t(atomicOrdering(true, memoryOrder))), in createLoad()
1030 auto intTy = llvm::IntegerType::get(*jit->context, sizeof(int) * 8); in createStore() local
1034 auto funcTy = llvm::FunctionType::get(voidTy, { sizetTy, i8PtrTy, i8PtrTy, intTy }, false); in createStore()
1043 … llvm::ConstantInt::get(intTy, uint64_t(atomicOrdering(true, memoryOrder))), in createStore()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp1204 IntegerType intTy = type.dyn_cast<IntegerType>(); in getAsmResultNames() local
1207 if (intTy && intTy.getWidth() == 1) in getAsmResultNames()
1214 if (intTy) in getAsmResultNames()