/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | LLVMTypes.cpp | 67 LLVMTokenType, LLVMStructType, LLVMArrayType, in getPrimitiveSizeInBits() 153 return cast<LLVMStructType>().getBody()[i]; in getStructElementType() 157 return cast<LLVMStructType>().getBody().size(); in getStructNumElements() 160 bool LLVMType::isStructTy() { return isa<LLVMStructType>(); } in isStructTy() 210 return LLVMStructType::getLiteral(context, elements, isPacked); in getStructTy() 238 auto type = LLVMStructType::getIdentified(context, stringName); in createStructTy() 252 structType.cast<LLVMStructType>().setBody(elements, isPacked); in setStructTyBody() 398 bool LLVMStructType::isValidElementType(LLVMType type) { in isValidElementType() 403 LLVMStructType LLVMStructType::getIdentified(MLIRContext *context, in getIdentified() 408 LLVMStructType LLVMStructType::getIdentifiedChecked(Location loc, in getIdentifiedChecked() [all …]
|
D | LLVMTypeSyntax.cpp | 45 .Case<LLVMStructType>([&](Type) { return "struct"; }) in getTypeKeyword() 53 static void printStructTypeBody(llvm::raw_ostream &os, LLVMStructType type, in printStructTypeBody() 79 static void printStructType(llvm::raw_ostream &os, LLVMStructType type, in printStructType() 167 if (auto structType = type.dyn_cast<LLVMStructType>()) in printTypeImpl() 307 static LLVMStructType trySetStructBody(LLVMStructType type, in trySetStructBody() 313 if (!LLVMStructType::isValidElementType(t)) { in trySetStructBody() 316 return LLVMStructType(); in trySetStructBody() 329 return LLVMStructType(); in trySetStructBody() 337 static LLVMStructType parseStructType(DialectAsmParser &parser, in parseStructType() 342 return LLVMStructType(); in parseStructType() [all …]
|
D | LLVMDialect.cpp | 1779 LLVMStructType>(); in initialize()
|
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/ |
D | LLVMTypes.h | 427 class LLVMStructType : public Type::TypeBase<LLVMStructType, LLVMType, 441 static LLVMStructType getIdentified(MLIRContext *context, StringRef name); 442 static LLVMStructType getIdentifiedChecked(Location loc, StringRef name); 446 static LLVMStructType getLiteral(MLIRContext *context, 449 static LLVMStructType getLiteralChecked(Location loc, 459 static LLVMStructType getOpaque(StringRef name, MLIRContext *context); 460 static LLVMStructType getOpaqueChecked(Location loc, StringRef name);
|
D | LLVMOpBase.td | 108 def LLVM_AnyStruct : Type<CPred<"$_self.isa<::mlir::LLVM::LLVMStructType>()">, 114 CPred<"$_self.cast<::mlir::LLVM::LLVMStructType>().isOpaque()">]>>; 124 CPred<"$_self.isa<::mlir::LLVM::LLVMStructType, " 230 [{convertType(opInst.getResult(0).getType().cast<LLVM::LLVMStructType>() 244 // to be accessed via the LLVMStructType, instead of directly via the result.
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | TypeTranslation.cpp | 76 LLVM::LLVMStructType, LLVM::LLVMFixedVectorType, in translateType() 117 llvm::Type *translate(LLVM::LLVMStructType type) { in translate() 270 return LLVM::LLVMStructType::getLiteral(&context, subtypes, in translate() 275 return LLVM::LLVMStructType::getOpaque(type->getName(), &context); in translate() 277 LLVM::LLVMStructType translated = in translate() 278 LLVM::LLVMStructType::getIdentified(&context, type->getName()); in translate()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld.h | 71 #define LLVMStructType ILLEGAL_LLVM_FUNCTION macro
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | tf_kernel_to_llvm_pass.cc | 108 auto struct_type = LLVM::LLVMStructType::getNewIdentified( in generateParamsArray()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1000 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
|
/external/llvm-project/llvm/include/llvm-c/ |
D | Core.h | 1293 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Core.h | 1281 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
|
/external/llvm/lib/IR/ |
D | Core.cpp | 513 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, in LLVMStructType() function
|
/external/llvm/bindings/go/llvm/ |
D | ir.go | 568 t.C = C.LLVMStructType(pt, ptlen, boolToLLVMBool(packed))
|
/external/llvm-project/llvm/bindings/go/llvm/ |
D | ir.go | 633 t.C = C.LLVMStructType(pt, ptlen, boolToLLVMBool(packed))
|
/external/llvm-project/llvm/lib/IR/ |
D | Core.cpp | 688 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, in LLVMStructType() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Core.cpp | 676 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, in LLVMStructType() function
|