|
clang 22.0.0git
|
#include "clang/CIR/Dialect/Builder/CIRBaseBuilder.h"
Public Member Functions | |
| CIRBaseBuilderTy (mlir::MLIRContext &mlirContext) | |
| CIRBaseBuilderTy (mlir::OpBuilder &builder) | |
| mlir::Value | getConstAPInt (mlir::Location loc, mlir::Type typ, const llvm::APInt &val) |
| cir::ConstantOp | getConstant (mlir::Location loc, mlir::TypedAttr attr) |
| cir::ConstantOp | getConstantInt (mlir::Location loc, mlir::Type ty, int64_t value) |
| mlir::Value | getSignedInt (mlir::Location loc, int64_t val, unsigned numBits) |
| mlir::Value | getUnsignedInt (mlir::Location loc, uint64_t val, unsigned numBits) |
| cir::ConstantOp | getNullValue (mlir::Type ty, mlir::Location loc) |
| mlir::TypedAttr | getConstNullPtrAttr (mlir::Type t) |
| mlir::TypedAttr | getZeroInitAttr (mlir::Type ty) |
| cir::ConstantOp | getBool (bool state, mlir::Location loc) |
| cir::ConstantOp | getFalse (mlir::Location loc) |
| cir::ConstantOp | getTrue (mlir::Location loc) |
| cir::BoolType | getBoolTy () |
| cir::VoidType | getVoidTy () |
| cir::IntType | getUIntNTy (int n) |
| cir::IntType | getSIntNTy (int n) |
| cir::PointerType | getPointerTo (mlir::Type ty) |
| cir::PointerType | getPointerTo (mlir::Type ty, cir::TargetAddressSpaceAttr as) |
| cir::PointerType | getPointerTo (mlir::Type ty, clang::LangAS langAS) |
| cir::PointerType | getVoidPtrTy (clang::LangAS langAS=clang::LangAS::Default) |
| cir::PointerType | getVoidPtrTy (cir::TargetAddressSpaceAttr as) |
| cir::BoolAttr | getCIRBoolAttr (bool state) |
| cir::BoolAttr | getTrueAttr () |
| cir::BoolAttr | getFalseAttr () |
| mlir::Value | createComplexCreate (mlir::Location loc, mlir::Value real, mlir::Value imag) |
| mlir::Value | createComplexReal (mlir::Location loc, mlir::Value operand) |
| mlir::Value | createComplexImag (mlir::Location loc, mlir::Value operand) |
| cir::LoadOp | createLoad (mlir::Location loc, mlir::Value ptr, bool isVolatile=false, uint64_t alignment=0) |
| mlir::Value | createAlignedLoad (mlir::Location loc, mlir::Value ptr, uint64_t alignment) |
| mlir::Value | createNot (mlir::Value value) |
| cir::DoWhileOp | createDoWhile (mlir::Location loc, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> condBuilder, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> bodyBuilder) |
| Create a do-while operation. | |
| cir::WhileOp | createWhile (mlir::Location loc, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> condBuilder, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> bodyBuilder) |
| Create a while operation. | |
| cir::ForOp | createFor (mlir::Location loc, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> condBuilder, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> bodyBuilder, llvm::function_ref< void(mlir::OpBuilder &, mlir::Location)> stepBuilder) |
| Create a for operation. | |
| cir::BreakOp | createBreak (mlir::Location loc) |
| Create a break operation. | |
| cir::ContinueOp | createContinue (mlir::Location loc) |
| Create a continue operation. | |
| mlir::Value | createUnaryOp (mlir::Location loc, cir::UnaryOpKind kind, mlir::Value operand) |
| mlir::TypedAttr | getConstPtrAttr (mlir::Type type, int64_t value) |
| mlir::Value | createAlloca (mlir::Location loc, cir::PointerType addrType, mlir::Type type, llvm::StringRef name, mlir::IntegerAttr alignment, mlir::Value dynAllocSize) |
| mlir::Value | createAlloca (mlir::Location loc, cir::PointerType addrType, mlir::Type type, llvm::StringRef name, clang::CharUnits alignment, mlir::Value dynAllocSize) |
| mlir::Value | createAlloca (mlir::Location loc, cir::PointerType addrType, mlir::Type type, llvm::StringRef name, mlir::IntegerAttr alignment) |
| mlir::Value | createAlloca (mlir::Location loc, cir::PointerType addrType, mlir::Type type, llvm::StringRef name, clang::CharUnits alignment) |
| cir::GlobalViewAttr | getGlobalViewAttr (cir::GlobalOp globalOp, mlir::ArrayAttr indices={}) |
| Get constant address of a global variable as an MLIR attribute. | |
| cir::GlobalViewAttr | getGlobalViewAttr (cir::PointerType type, cir::GlobalOp globalOp, mlir::ArrayAttr indices={}) |
| Get constant address of a global variable as an MLIR attribute. | |
| mlir::Value | createGetGlobal (mlir::Location loc, cir::GlobalOp global, bool threadLocal=false) |
| mlir::Value | createGetGlobal (cir::GlobalOp global, bool threadLocal=false) |
| cir::CopyOp | createCopy (mlir::Value dst, mlir::Value src, bool isVolatile=false) |
| Create a copy with inferred length. | |
| cir::StoreOp | createStore (mlir::Location loc, mlir::Value val, mlir::Value dst, bool isVolatile=false, mlir::IntegerAttr align={}, cir::SyncScopeKindAttr scope={}, cir::MemOrderAttr order={}) |
| cir::LoadOp | createFlagLoad (mlir::Location loc, mlir::Value addr) |
| Emit a load from an boolean flag variable. | |
| cir::StoreOp | createFlagStore (mlir::Location loc, bool val, mlir::Value dst) |
| cir::GlobalOp | createGlobal (mlir::ModuleOp mlirModule, mlir::Location loc, mlir::StringRef name, mlir::Type type, bool isConstant, cir::GlobalLinkageKind linkage) |
| cir::GetMemberOp | createGetMember (mlir::Location loc, mlir::Type resultTy, mlir::Value base, llvm::StringRef name, unsigned index) |
| mlir::Value | createDummyValue (mlir::Location loc, mlir::Type type, clang::CharUnits alignment) |
| cir::PtrStrideOp | createPtrStride (mlir::Location loc, mlir::Value base, mlir::Value stride) |
| cir::CallOp | createCallOp (mlir::Location loc, mlir::SymbolRefAttr callee, mlir::Type returnType, mlir::ValueRange operands, llvm::ArrayRef< mlir::NamedAttribute > attrs={}) |
| cir::CallOp | createCallOp (mlir::Location loc, cir::FuncOp callee, mlir::ValueRange operands, llvm::ArrayRef< mlir::NamedAttribute > attrs={}) |
| cir::CallOp | createIndirectCallOp (mlir::Location loc, mlir::Value indirectTarget, cir::FuncType funcType, mlir::ValueRange operands, llvm::ArrayRef< mlir::NamedAttribute > attrs={}) |
| cir::CallOp | createCallOp (mlir::Location loc, mlir::SymbolRefAttr callee, mlir::ValueRange operands=mlir::ValueRange(), llvm::ArrayRef< mlir::NamedAttribute > attrs={}) |
| mlir::Value | createCast (mlir::Location loc, cir::CastKind kind, mlir::Value src, mlir::Type newTy) |
| mlir::Value | createCast (cir::CastKind kind, mlir::Value src, mlir::Type newTy) |
| mlir::Value | createIntCast (mlir::Value src, mlir::Type newTy) |
| mlir::Value | createIntToPtr (mlir::Value src, mlir::Type newTy) |
| mlir::Value | createPtrToInt (mlir::Value src, mlir::Type newTy) |
| mlir::Value | createPtrToBoolCast (mlir::Value v) |
| mlir::Value | createBoolToInt (mlir::Value src, mlir::Type newTy) |
| mlir::Value | createBitcast (mlir::Value src, mlir::Type newTy) |
| mlir::Value | createBitcast (mlir::Location loc, mlir::Value src, mlir::Type newTy) |
| mlir::Value | createPtrBitcast (mlir::Value src, mlir::Type newPointeeTy) |
| mlir::Value | createPtrIsNull (mlir::Value ptr) |
| mlir::Value | createAddrSpaceCast (mlir::Location loc, mlir::Value src, mlir::Type newTy) |
| mlir::Value | createAddrSpaceCast (mlir::Value src, mlir::Type newTy) |
| mlir::Value | createBinop (mlir::Location loc, mlir::Value lhs, cir::BinOpKind kind, mlir::Value rhs) |
| mlir::Value | createLowBitsSet (mlir::Location loc, unsigned size, unsigned bits) |
| mlir::Value | createAnd (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createOr (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createSelect (mlir::Location loc, mlir::Value condition, mlir::Value trueValue, mlir::Value falseValue) |
| mlir::Value | createLogicalAnd (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createLogicalOr (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createMul (mlir::Location loc, mlir::Value lhs, mlir::Value rhs, OverflowBehavior ob=OverflowBehavior::None) |
| mlir::Value | createNSWMul (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createNUWAMul (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createSub (mlir::Location loc, mlir::Value lhs, mlir::Value rhs, OverflowBehavior ob=OverflowBehavior::Saturated) |
| mlir::Value | createNSWSub (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createNUWSub (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createAdd (mlir::Location loc, mlir::Value lhs, mlir::Value rhs, OverflowBehavior ob=OverflowBehavior::None) |
| mlir::Value | createNSWAdd (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createNUWAdd (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| cir::CmpOp | createCompare (mlir::Location loc, cir::CmpOpKind kind, mlir::Value lhs, mlir::Value rhs) |
| cir::VecCmpOp | createVecCompare (mlir::Location loc, cir::CmpOpKind kind, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createIsNaN (mlir::Location loc, mlir::Value operand) |
| mlir::Value | createShift (mlir::Location loc, mlir::Value lhs, mlir::Value rhs, bool isShiftLeft) |
| mlir::Value | createShift (mlir::Location loc, mlir::Value lhs, const llvm::APInt &rhs, bool isShiftLeft) |
| mlir::Value | createShift (mlir::Location loc, mlir::Value lhs, unsigned bits, bool isShiftLeft) |
| mlir::Value | createShiftLeft (mlir::Location loc, mlir::Value lhs, unsigned bits) |
| mlir::Value | createShiftRight (mlir::Location loc, mlir::Value lhs, unsigned bits) |
| mlir::Value | createShiftLeft (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::Value | createShiftRight (mlir::Location loc, mlir::Value lhs, mlir::Value rhs) |
| mlir::IntegerAttr | getAlignmentAttr (clang::CharUnits alignment) |
| mlir::IntegerAttr | getAlignmentAttr (llvm::Align alignment) |
| mlir::IntegerAttr | getAlignmentAttr (int64_t alignment) |
| mlir::IntegerAttr | getSizeFromCharUnits (clang::CharUnits size) |
| cir::ConstantOp | getNullPtr (mlir::Type ty, mlir::Location loc) |
| cir::ConditionOp | createCondition (mlir::Value condition) |
| Create a loop condition. | |
| cir::YieldOp | createYield (mlir::Location loc, mlir::ValueRange value={}) |
| Create a yield operation. | |
Static Public Member Functions | |
| static unsigned | getCIRIntOrFloatBitWidth (mlir::Type eltTy) |
| static OpBuilder::InsertPoint | getBestAllocaInsertPoint (mlir::Block *block) |
Definition at line 57 of file CIRBaseBuilder.h.
|
inline |
Definition at line 60 of file CIRBaseBuilder.h.
Referenced by clang::CIRGen::CIRGenBuilderTy::CIRGenBuilderTy().
|
inline |
Definition at line 62 of file CIRBaseBuilder.h.
|
inline |
Definition at line 567 of file CIRBaseBuilder.h.
References cir::None, cir::NoSignedWrap, cir::NoUnsignedWrap, and cir::Saturated.
Referenced by createNSWAdd(), and createNUWAdd().
|
inline |
Definition at line 475 of file CIRBaseBuilder.h.
References createCast().
Referenced by createAddrSpaceCast(), and clang::CIRGen::TargetCIRGenInfo::performAddrSpaceCast().
|
inline |
Definition at line 480 of file CIRBaseBuilder.h.
References createAddrSpaceCast().
|
inline |
Definition at line 212 of file CIRBaseBuilder.h.
References createLoad().
Referenced by buildDynamicCastToVoidAfterNullCheck().
|
inline |
Definition at line 289 of file CIRBaseBuilder.h.
References createAlloca(), and getAlignmentAttr().
|
inline |
Definition at line 275 of file CIRBaseBuilder.h.
References createAlloca(), and getAlignmentAttr().
|
inline |
Definition at line 283 of file CIRBaseBuilder.h.
|
inline |
Definition at line 267 of file CIRBaseBuilder.h.
Referenced by createAlloca(), createAlloca(), createDummyValue(), emitBuiltinAlloca(), and lowerArrayDtorCtorIntoLoop().
|
inline |
Definition at line 500 of file CIRBaseBuilder.h.
References createBinop().
Referenced by emitX86Muldq().
|
inline |
Definition at line 488 of file CIRBaseBuilder.h.
Referenced by buildAlgebraicComplexDiv(), buildRangeReductionComplexDiv(), createAnd(), createOr(), emitX86MaskLogic(), and lowerComplexMul().
|
inline |
Definition at line 460 of file CIRBaseBuilder.h.
References createCast().
|
inline |
Definition at line 456 of file CIRBaseBuilder.h.
References createCast().
Referenced by buildDynamicCastAfterNullCheck(), buildDynamicCastToVoidAfterNullCheck(), clang::CIRGen::CIRGenBuilderTy::createElementBitCast(), createPtrBitcast(), emitBuiltinAlloca(), emitExactDynamicCast(), emitGlobalVarDeclLValue(), emitVectorFCmp(), emitX86MaskAddLogic(), emitX86MaskLogic(), emitX86MaskUnpack(), emitX86Muldq(), emitX86vpcom(), getBoolMaskVecValue(), and getMaskVecValue().
|
inline |
Definition at line 452 of file CIRBaseBuilder.h.
References createCast().
|
inline |
Create a break operation.
Definition at line 249 of file CIRBaseBuilder.h.
|
inline |
Definition at line 394 of file CIRBaseBuilder.h.
|
inline |
Definition at line 386 of file CIRBaseBuilder.h.
Referenced by buildBadCastCall(), buildComplexBinOpLibCall(), buildDynamicCastAfterNullCheck(), emitCallLikeOp(), and emitDeclDestroy().
|
inline |
Definition at line 412 of file CIRBaseBuilder.h.
|
inline |
Definition at line 429 of file CIRBaseBuilder.h.
References createCast().
|
inline |
Definition at line 422 of file CIRBaseBuilder.h.
Referenced by createAddrSpaceCast(), createBitcast(), createBitcast(), createBoolToInt(), createCast(), createIntCast(), createIntToPtr(), createPtrToBoolCast(), createPtrToInt(), lowerComplexDiv(), lowerComplexToComplexCast(), and lowerComplexToScalarCast().
|
inline |
Definition at line 589 of file CIRBaseBuilder.h.
Referenced by buildRangeReductionComplexDiv(), createIsNaN(), createPtrIsNull(), and emitExactDynamicCast().
|
inline |
Definition at line 183 of file CIRBaseBuilder.h.
Referenced by buildAlgebraicComplexDiv(), buildRangeReductionComplexDiv(), lowerComplexDiv(), lowerComplexMul(), lowerComplexToComplexCast(), and lowerScalarToComplexCast().
|
inline |
Definition at line 197 of file CIRBaseBuilder.h.
Referenced by lowerComplexDiv(), lowerComplexToComplexCast(), and lowerComplexToScalarCast().
|
inline |
Definition at line 190 of file CIRBaseBuilder.h.
Referenced by lowerComplexDiv(), lowerComplexToComplexCast(), and lowerComplexToScalarCast().
|
inline |
Create a loop condition.
Definition at line 694 of file CIRBaseBuilder.h.
Referenced by lowerArrayDtorCtorIntoLoop().
|
inline |
Create a continue operation.
Definition at line 254 of file CIRBaseBuilder.h.
|
inline |
Create a copy with inferred length.
Definition at line 325 of file CIRBaseBuilder.h.
|
inline |
Create a do-while operation.
Definition at line 223 of file CIRBaseBuilder.h.
Referenced by lowerArrayDtorCtorIntoLoop().
|
inline |
Definition at line 368 of file CIRBaseBuilder.h.
References createAlloca(), getAlignmentAttr(), and getPointerTo().
|
inline |
Emit a load from an boolean flag variable.
Definition at line 340 of file CIRBaseBuilder.h.
References createLoad(), createPtrBitcast(), and getBoolTy().
|
inline |
Definition at line 347 of file CIRBaseBuilder.h.
References createStore(), and getBool().
|
inline |
Create a for operation.
Definition at line 239 of file CIRBaseBuilder.h.
|
inline |
Definition at line 320 of file CIRBaseBuilder.h.
References createGetGlobal().
|
inline |
Definition at line 312 of file CIRBaseBuilder.h.
References cir::MissingFeatures::addressSpace(), and getPointerTo().
Referenced by createGetGlobal(), and emitDeclDestroy().
|
inline |
Definition at line 362 of file CIRBaseBuilder.h.
Referenced by clang::CIRGen::CIRGenFunction::getAddrOfBitFieldStorage().
|
inlinenodiscard |
Definition at line 352 of file CIRBaseBuilder.h.
Referenced by clang::CIRGen::CIRGenBuilderTy::createVersionedGlobal().
|
inline |
Definition at line 403 of file CIRBaseBuilder.h.
Referenced by emitCallLikeOp().
|
inline |
Definition at line 436 of file CIRBaseBuilder.h.
References createCast().
Referenced by clang::CIRGen::CIRGenBuilderTy::createNeg(), emitBuiltinBitOp(), and emitX86FunnelShift().
|
inline |
Definition at line 440 of file CIRBaseBuilder.h.
References createCast().
Referenced by emitPointerArithmetic().
|
inline |
Definition at line 604 of file CIRBaseBuilder.h.
References createCompare().
Referenced by lowerComplexMul().
|
inline |
Definition at line 204 of file CIRBaseBuilder.h.
References getAlignmentAttr().
Referenced by buildDynamicCastToVoidAfterNullCheck(), createAlignedLoad(), and createFlagLoad().
|
inline |
Definition at line 516 of file CIRBaseBuilder.h.
References createSelect(), and getBool().
Referenced by lowerComplexMul().
|
inline |
Definition at line 521 of file CIRBaseBuilder.h.
References createSelect(), and getBool().
Referenced by lowerComplexToScalarCast().
|
inline |
Definition at line 493 of file CIRBaseBuilder.h.
References getConstAPInt().
|
inline |
Definition at line 526 of file CIRBaseBuilder.h.
References cir::None, cir::NoSignedWrap, and cir::NoUnsignedWrap.
Referenced by createNSWMul(), createNUWAMul(), and emitX86Muldq().
|
inline |
Definition at line 217 of file CIRBaseBuilder.h.
Referenced by emitAtomicCmpXchg(), emitExactDynamicCast(), emitVectorFCmp(), and emitX86MaskLogic().
|
inline |
Definition at line 579 of file CIRBaseBuilder.h.
References createAdd(), and cir::NoSignedWrap.
|
inline |
Definition at line 536 of file CIRBaseBuilder.h.
References createMul(), and cir::NoSignedWrap.
|
inline |
Definition at line 557 of file CIRBaseBuilder.h.
References createSub(), and cir::NoSignedWrap.
|
inline |
Definition at line 584 of file CIRBaseBuilder.h.
References createAdd(), and cir::NoUnsignedWrap.
|
inline |
Definition at line 540 of file CIRBaseBuilder.h.
References createMul(), and cir::NoUnsignedWrap.
Referenced by genVscaleTimesFactor().
|
inline |
Definition at line 562 of file CIRBaseBuilder.h.
References createSub(), and cir::NoUnsignedWrap.
|
inline |
Definition at line 504 of file CIRBaseBuilder.h.
References createBinop().
|
inline |
Definition at line 465 of file CIRBaseBuilder.h.
References createBitcast(), and getPointerTo().
Referenced by clang::CIRGen::CIRGenBuilderTy::createAlignedLoad(), createFlagLoad(), emitAtomicCmpXchg(), and clang::CIRGen::Address::withElementType().
|
inline |
Definition at line 470 of file CIRBaseBuilder.h.
References createCompare(), and getNullPtr().
Referenced by buildDynamicCastAfterNullCheck().
|
inline |
Definition at line 377 of file CIRBaseBuilder.h.
|
inline |
Definition at line 448 of file CIRBaseBuilder.h.
References createCast(), and getBoolTy().
Referenced by LoweringPrepareItaniumCXXABI::lowerDynamicCast().
|
inline |
Definition at line 444 of file CIRBaseBuilder.h.
References createCast().
|
inline |
Definition at line 508 of file CIRBaseBuilder.h.
Referenced by createLogicalAnd(), createLogicalOr(), and emitX86Select().
|
inline |
Definition at line 614 of file CIRBaseBuilder.h.
References createShift(), and getConstAPInt().
|
inline |
Definition at line 608 of file CIRBaseBuilder.h.
Referenced by createShift(), createShift(), createShiftLeft(), createShiftLeft(), createShiftRight(), createShiftRight(), and emitX86Muldq().
|
inline |
Definition at line 620 of file CIRBaseBuilder.h.
References createShift().
|
inline |
Definition at line 637 of file CIRBaseBuilder.h.
References createShift().
|
inline |
Definition at line 627 of file CIRBaseBuilder.h.
References createShift().
|
inline |
Definition at line 642 of file CIRBaseBuilder.h.
References createShift().
|
inline |
Definition at line 632 of file CIRBaseBuilder.h.
References createShift().
|
inline |
Definition at line 330 of file CIRBaseBuilder.h.
Referenced by createFlagStore(), and lowerArrayDtorCtorIntoLoop().
|
inline |
Definition at line 545 of file CIRBaseBuilder.h.
References cir::NoSignedWrap, cir::NoUnsignedWrap, and cir::Saturated.
Referenced by createNSWSub(), and createNUWSub().
|
inline |
Definition at line 258 of file CIRBaseBuilder.h.
|
inline |
Definition at line 594 of file CIRBaseBuilder.h.
References getCIRIntOrFloatBitWidth(), and getSIntNTy().
Referenced by emitVectorFCmp(), and emitX86vpcom().
|
inline |
Create a while operation.
Definition at line 231 of file CIRBaseBuilder.h.
|
inline |
Create a yield operation.
Definition at line 699 of file CIRBaseBuilder.h.
Referenced by buildRangeReductionComplexDiv(), emitAtomicCmpXchg(), emitAtomicExprWithDynamicMemOrder(), emitExactDynamicCast(), lowerArrayDtorCtorIntoLoop(), lowerComplexMul(), LoweringPrepareItaniumCXXABI::lowerDynamicCast(), and terminateBody().
|
inline |
Definition at line 671 of file CIRBaseBuilder.h.
References getAlignmentAttr(), and clang::CharUnits::getQuantity().
Referenced by clang::CIRGen::CIRGenBuilderTy::createAlignedLoad(), createAlloca(), createAlloca(), createDummyValue(), createLoad(), clang::CIRGen::CIRGenBuilderTy::createLoad(), getAlignmentAttr(), getAlignmentAttr(), and lowerArrayDtorCtorIntoLoop().
|
inline |
Definition at line 679 of file CIRBaseBuilder.h.
|
inline |
Definition at line 675 of file CIRBaseBuilder.h.
References getAlignmentAttr().
|
inlinestatic |
Definition at line 651 of file CIRBaseBuilder.h.
|
inline |
Definition at line 121 of file CIRBaseBuilder.h.
References getCIRBoolAttr().
Referenced by createFlagStore(), createLogicalAnd(), createLogicalOr(), getFalse(), and getTrue().
|
inline |
Definition at line 127 of file CIRBaseBuilder.h.
Referenced by createFlagLoad(), createPtrToBoolCast(), emitAtomicCmpXchg(), getBoolMaskVecValue(), and lowerComplexToScalarCast().
|
inline |
Definition at line 176 of file CIRBaseBuilder.h.
Referenced by getBool(), getFalseAttr(), getTrueAttr(), and clang::CIRGen::ConstantEmitter::tryEmitPrivate().
|
inlinestatic |
Definition at line 134 of file CIRBaseBuilder.h.
Referenced by createVecCompare().
|
inline |
Definition at line 69 of file CIRBaseBuilder.h.
Referenced by buildDynamicCastAfterNullCheck(), clang::CIRGen::CIRGenBuilderTy::createVecShuffle(), emitCXXNewAllocSize(), emitNullBaseClassInitialization(), emitStoresForConstant(), emitX86Muldq(), getConstantInt(), and getNullValue().
|
inline |
Definition at line 73 of file CIRBaseBuilder.h.
References getConstant().
Referenced by clang::CIRGen::CIRGenBuilderTy::getSInt32(), clang::CIRGen::CIRGenBuilderTy::getSInt64(), clang::CIRGen::CIRGenBuilderTy::getUInt32(), and clang::CIRGen::CIRGenBuilderTy::getUInt64().
|
inline |
Definition at line 64 of file CIRBaseBuilder.h.
Referenced by createLowBitsSet(), createShift(), emitX86vpcom(), getSignedInt(), and getUnsignedInt().
|
inline |
Definition at line 95 of file CIRBaseBuilder.h.
References getConstPtrAttr().
Referenced by getZeroInitAttr().
|
inline |
Definition at line 263 of file CIRBaseBuilder.h.
Referenced by getConstNullPtrAttr(), and getNullPtr().
|
inline |
Definition at line 124 of file CIRBaseBuilder.h.
References getBool().
|
inline |
Definition at line 181 of file CIRBaseBuilder.h.
References getCIRBoolAttr().
Referenced by getZeroInitAttr().
|
inline |
Get constant address of a global variable as an MLIR attribute.
This wrapper infers the attribute type through the global op.
Definition at line 298 of file CIRBaseBuilder.h.
|
inline |
Get constant address of a global variable as an MLIR attribute.
Definition at line 305 of file CIRBaseBuilder.h.
|
inline |
Definition at line 688 of file CIRBaseBuilder.h.
References getConstPtrAttr(), and cir::MissingFeatures::targetCodeGenInfoGetNullPointer().
Referenced by createPtrIsNull(), emitDynamicCastToNull(), emitExactDynamicCast(), and LoweringPrepareItaniumCXXABI::lowerDynamicCast().
|
inline |
Definition at line 91 of file CIRBaseBuilder.h.
References getConstant(), and getZeroInitAttr().
Referenced by emitX86vpcom(), and lowerScalarToComplexCast().
|
inline |
Definition at line 146 of file CIRBaseBuilder.h.
Referenced by buildDynamicCastToVoidAfterNullCheck(), clang::CIRGen::CIRGenBuilderTy::createBaseClassAddr(), clang::CIRGen::CIRGenBuilderTy::createComplexImagPtr(), clang::CIRGen::CIRGenBuilderTy::createComplexRealPtr(), clang::CIRGen::CIRGenBuilderTy::createDerivedClassAddr(), createDummyValue(), clang::CIRGen::CIRGenBuilderTy::createElementBitCast(), createGetGlobal(), clang::CIRGen::CIRGenBuilderTy::createGetIndirectMember(), createPtrBitcast(), emitExactDynamicCast(), emitGlobalVarDeclLValue(), clang::CIRGen::CIRGenModule::getAddrOfConstantStringFromLiteral(), getPointerTo(), clang::CIRGen::CIRGenBuilderTy::getPtrToVPtrType(), getVoidPtrTy(), getVoidPtrTy(), initCatchParam(), lowerArrayDtorCtorIntoLoop(), and clang::CIRGen::CIRGenBuilderTy::maybeBuildArrayDecay().
|
inline |
Definition at line 150 of file CIRBaseBuilder.h.
|
inline |
Definition at line 154 of file CIRBaseBuilder.h.
References clang::Default, getPointerTo(), clang::isTargetAddressSpace(), and clang::toTargetAddressSpace().
|
inline |
Definition at line 78 of file CIRBaseBuilder.h.
References getConstAPInt().
Referenced by buildDynamicCastToVoidAfterNullCheck(), and lowerArrayDtorCtorIntoLoop().
|
inline |
Definition at line 142 of file CIRBaseBuilder.h.
Referenced by buildDynamicCastToVoidAfterNullCheck(), and createVecCompare().
|
inline |
Definition at line 683 of file CIRBaseBuilder.h.
References clang::CharUnits::getQuantity().
|
inline |
Definition at line 125 of file CIRBaseBuilder.h.
References getBool().
|
inline |
Definition at line 180 of file CIRBaseBuilder.h.
References getCIRBoolAttr().
|
inline |
Definition at line 130 of file CIRBaseBuilder.h.
Referenced by buildDynamicCastToVoidAfterNullCheck().
|
inline |
Definition at line 84 of file CIRBaseBuilder.h.
References getConstAPInt().
Referenced by lowerArrayDtorCtorIntoLoop().
|
inline |
Definition at line 172 of file CIRBaseBuilder.h.
References getPointerTo().
|
inline |
Definition at line 168 of file CIRBaseBuilder.h.
References clang::Default, and getPointerTo().
Referenced by buildDynamicCastAfterNullCheck(), buildDynamicCastToVoidAfterNullCheck(), clang::CIRGen::CIRGenBuilderTy::createDynCastToVoid(), emitBuiltinAlloca(), and getItaniumDynamicCastFn().
|
inline |
Definition at line 128 of file CIRBaseBuilder.h.
|
inline |
Definition at line 100 of file CIRBaseBuilder.h.
References getConstNullPtrAttr(), and getFalseAttr().
Referenced by emitNullConstantForBase(), and getNullValue().