Home
last modified time | relevance | path

Searched refs:getMLIRContext (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenModule.cpp70 VoidTy = cir::VoidType::get(&getMLIRContext());
72 SInt8Ty = cir::IntType::get(&getMLIRContext(), 8, /*isSigned=*/true);
73 SInt16Ty = cir::IntType::get(&getMLIRContext(), 16, /*isSigned=*/true);
74 SInt32Ty = cir::IntType::get(&getMLIRContext(), 32, /*isSigned=*/true);
75 SInt64Ty = cir::IntType::get(&getMLIRContext(), 64, /*isSigned=*/true);
76 SInt128Ty = cir::IntType::get(&getMLIRContext(), 128, /*isSigned=*/true);
77 UInt8Ty = cir::IntType::get(&getMLIRContext(), 8, /*isSigned=*/false);
78 UInt16Ty = cir::IntType::get(&getMLIRContext(), 16, /*isSigned=*/false);
79 UInt32Ty = cir::IntType::get(&getMLIRContext(), 32, /*isSigned=*/false);
80 UInt64Ty = cir::IntType::get(&getMLIRContext(), 64, /*isSigned=*/false);
[all …]
H A DCIRGenTypes.cpp26 mlir::MLIRContext &CIRGenTypes::getMLIRContext() const { in getMLIRContext() function in CIRGenTypes
302 resultType = cir::BoolType::get(&getMLIRContext()); in convertType()
315 cir::IntType::get(&getMLIRContext(), astContext.getTypeSize(ty), in convertType()
331 cir::IntType::get(&getMLIRContext(), astContext.getTypeSize(ty), in convertType()
481 resultType = cir::IntType::get(&getMLIRContext(), bitIntTy->getNumBits(), in convertType()
H A DCIRGenOpenACC.cpp46 &getMLIRContext(), getContext().getIntWidth(intExpr->getType()), in emitOpenACCIntExpr()
60 mlir::IntegerType::get(&getMLIRContext(), width, in createOpenACCConstantInt()
H A DCIRGenFunction.cpp124 return mlir::FusedLoc::get(locs, metadata, &getMLIRContext()); in getLoc()
136 return mlir::FusedLoc::get(locs, metadata, &getMLIRContext()); in getLoc()
221 allocaOp.setInitAttr(mlir::UnitAttr::get(&getMLIRContext())); in declare()
223 allocaOp.setConstantAttr(mlir::UnitAttr::get(&getMLIRContext())); in declare()
453 &getMLIRContext(), in generateCode()
H A DCIRGenModule.h103 mlir::MLIRContext &getMLIRContext() { return *builder.getContext(); } in getMLIRContext() function
357 f.setLinkageAttr(cir::GlobalLinkageKindAttr::get(&getMLIRContext(), l)); in setFunctionLinkage()
H A DCIRGenTypes.h99 mlir::MLIRContext &getMLIRContext() const;
H A DCIRGenRecordLayoutBuilder.cpp121 return cir::IntType::get(&cirGenTypes.getMLIRContext(), alignedBits, in getUIntNType()
126 return cir::IntType::get(&cirGenTypes.getMLIRContext(), in getCharType()
H A DCIRGenBuiltin.cpp196 probAttr = mlir::FloatAttr::get(mlir::Float64Type::get(&getMLIRContext()), in emitBuiltinExpr()
H A DCIRGenCall.cpp106 mlir::UnitAttr::get(&getMLIRContext())); in constructAttributeList()
132 cir::SideEffectAttr::get(&getMLIRContext(), sideEffect)); in constructAttributeList()
H A DCIRGenStmtOpenACC.cpp195 &getMLIRContext(), getContext().getIntWidth(intExpr->getType()), in emitOpenACCWaitConstruct()
H A DCIRGenExpr.cpp312 srcAlloca.setInitAttr(mlir::UnitAttr::get(&getMLIRContext())); in emitStoreOfScalar()
630 loadOp.setIsDerefAttr(mlir::UnitAttr::get(&getMLIRContext())); in emitUnaryOpLValue()
1441 mlir::Location loc = mlir::FusedLoc::get(&getMLIRContext(), ifLocs); in emitIfOnBoolExpr()
H A DCIRGenOpenACCClause.cpp94 &cgf.getMLIRContext(), /*width=*/1, in createCondition()
105 &cgf.getMLIRContext(), width, in createConstantInt()
H A DCIRGenDecl.cpp163 allocaOp.setInitAttr(mlir::UnitAttr::get(&getMLIRContext())); in emitAutoVarInit()
H A DCIRGenFunction.h130 mlir::MLIRContext &getMLIRContext() { return cgm.getMLIRContext(); } in getMLIRContext() function
/freebsd/contrib/llvm-project/clang/include/clang/CIR/
H A DCIRGenerator.h85 mlir::MLIRContext &getMLIRContext() { return *mlirContext; }; in getMLIRContext() function
86 const mlir::MLIRContext &getMLIRContext() const { return *mlirContext; }; in getMLIRContext() function
/freebsd/contrib/llvm-project/clang/lib/CIR/FrontendAction/
H A DCIRGenAction.cpp105 mlir::MLIRContext &MlirCtx = Gen->getMLIRContext(); in HandleTranslationUnit()