| /llvm-project-15.0.7/mlir/lib/Target/Cpp/ |
| H A D | TranslateToCpp.cpp | 775 if (auto iType = iAttr.getType().dyn_cast<IntegerType>()) { in emitAttribute() local 779 if (auto iType = iAttr.getType().dyn_cast<IndexType>()) { in emitAttribute() local 785 if (auto iType = dense.getType() in emitAttribute() local 791 printInt(val, shouldMapToUnsigned(iType.getSignedness())); in emitAttribute() 796 if (auto iType = dense.getType() in emitAttribute() local 960 if (auto iType = type.dyn_cast<IntegerType>()) { in emitType() local 961 switch (iType.getWidth()) { in emitType() 968 if (shouldMapToUnsigned(iType.getSignedness())) in emitType() 969 return (os << "uint" << iType.getWidth() << "_t"), success(); in emitType() 971 return (os << "int" << iType.getWidth() << "_t"), success(); in emitType() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 58 UnaryInstruction(Type *Ty, unsigned iType, Value *V, 60 : Instruction(Ty, iType, &Op<0>(), 1, IB) { 64 : Instruction(Ty, iType, &Op<0>(), 1, IAE) { in UnaryInstruction() 105 UnaryOperator(UnaryOps iType, Value *S, Type *Ty, 107 UnaryOperator(UnaryOps iType, Value *S, Type *Ty, 192 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 194 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 432 CastInst(Type *Ty, unsigned iType, Value *S, 434 : UnaryInstruction(Ty, iType, S, InsertBefore) { 438 CastInst(Type *Ty, unsigned iType, Value *S, [all …]
|
| H A D | Instruction.h | 846 Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps, 848 Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/ |
| H A D | NumericTest.cpp | 87 void testGenXI(fir::FirOpBuilder &builder, mlir::Type xType, mlir::Type iType, in testGenXI() argument 93 mlir::Value i = builder.create<fir::UndefOp>(loc, iType); in testGenXI()
|
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 141 if (auto iType = type.dyn_cast<IntegerType>()) { in getTypeSizeInBits() local 146 return 8 * iType.getIntOrFloatBitWidth(); in getTypeSizeInBits()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2634 UnaryOperator::UnaryOperator(UnaryOps iType, Value *S, in UnaryOperator() argument 2637 : UnaryInstruction(Ty, iType, S, InsertBefore) { in UnaryOperator() 2643 UnaryOperator::UnaryOperator(UnaryOps iType, Value *S, in UnaryOperator() argument 2646 : UnaryInstruction(Ty, iType, S, InsertAtEnd) { in UnaryOperator() 2687 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2, in BinaryOperator() argument 2690 : Instruction(Ty, iType, in BinaryOperator() 2700 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2, in BinaryOperator() argument 2703 : Instruction(Ty, iType, in BinaryOperator()
|