Home
last modified time | relevance | path

Searched refs:CharacterType (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/flang/lib/Lower/
DCharacterExpr.cpp19 static fir::CharacterType getCharacterType(mlir::Type type) { in getCharacterType()
28 if (auto charType = type.dyn_cast<fir::CharacterType>()) in getCharacterType()
33 static fir::CharacterType getCharacterType(const fir::CharBoxValue &box) { in getCharacterType()
39 box.getBuffer().getType().isa<fir::CharacterType>(); in needToMaterialize()
46 if (type.isa<fir::CharacterType>()) in getCompileTimeLength()
109 } else if (type.isa<fir::CharacterType>()) { in toExtendedValue()
164 if (str.getBuffer().getType().isa<fir::CharacterType>()) in createLoadCharAt()
203 assert(type.isa<fir::CharacterType>() && "expected fir character type"); in createTemp()
378 assert(type.isa<fir::CharacterType>() && "expected fir character type"); in createTemp()
388 fir::CharacterType type) { in createBlankConstantCode()
[all …]
DCharacterRuntime.cpp71 if (auto charTy = ty.dyn_cast<fir::CharacterType>()) in discoverKind()
DMangler.cpp149 if (auto character{t.dyn_cast<fir::CharacterType>()}) { in typeToString()
DConvertType.cpp160 return fir::CharacterType::get(context, KIND); in genFIRType()
DIntrinsicCall.cpp1087 auto charType = fir::CharacterType::get( in genIchar()
1243 } else if (type.isa<fir::CharacterType>()) { in createExtremumCompare()
DIO.cpp493 loc, /*FIXME*/ fir::CharacterType::get(builder.getContext(), 1), text); in lowerSourceTextAsStringLit()
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIRType.h96 class CharacterType
97 : public mlir::Type::TypeBase<CharacterType, mlir::Type,
101 static CharacterType get(mlir::MLIRContext *ctxt, KindTy kind);
178 CharacterType getEleTy() const;
DFIROps.td33 def fir_CharacterType : Type<CPred<"$_self.isa<fir::CharacterType>()">,
840 getSelector().getType().isa<fir::CharacterType>()))
1147 if (!eleTy.dyn_cast<CharacterType>())
2232 if (!(type.isa<fir::CharacterType>() || type.isa<mlir::IntegerType>()))
2251 if (!eleTy.isa<fir::CharacterType>())
2565 Or<[CPred<"$_self.cast<TypeAttr>().getValue().isa<fir::CharacterType>()">,
/external/llvm-project/flang/include/flang/Lower/
DCharacterExpr.h48 mlir::Value createBlankConstant(fir::CharacterType type);
144 mlir::Value createBlankConstantCode(fir::CharacterType type);
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRType.cpp85 CharacterType parseCharacter(mlir::DialectAsmParser &parser) { in parseCharacter()
86 return parseKindSingleton<CharacterType>(parser); in parseCharacter()
595 CharacterType getElementType(mlir::MLIRContext *ctxt) const { in getElementType()
596 return CharacterType::get(ctxt, getFKind()); in getElementType()
868 CharacterType fir::CharacterType::get(mlir::MLIRContext *ctxt, KindTy kind) { in get()
872 int fir::CharacterType::getFKind() const { return getImpl()->getFKind(); } in getFKind()
957 CharacterType fir::BoxCharType::getEleTy() const { in getEleTy()
1234 os << "boxchar<" << type.getEleTy().cast<fir::CharacterType>().getFKind() in printFirType()
1244 if (auto type = ty.dyn_cast<CharacterType>()) { in printFirType()
DFIRDialect.cpp18 addTypes<BoxType, BoxCharType, BoxProcType, CharacterType, CplxType, DimsType, in FIROpsDialect()
DFIROps.cpp340 ty.isa<fir::CharacterType>(); in isIntegerCompatible()
1375 return eleTy.cast<fir::CharacterType>().getFKind() != 1; in isWideValue()
/external/llvm-project/flang/lib/Evaluate/
Dtools.cpp608 using CharacterType = typename Ty::Result; in ConvertToType() typedef
610 Expr<CharacterType>{SetLength<CharacterType::kind>{ in ConvertToType()
/external/libchrome/base/strings/
Dstring_util.cc96 template<size_t size, typename CharacterType> struct NonASCIIMask;