Home
last modified time | relevance | path

Searched refs:IRType (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/unittests/Analysis/
DVectorFunctionABITest.cpp23 void reset(const StringRef Name, const StringRef IRType) { in reset() argument
27 Type *Ty = parseType(IRType, Err, *(M.get())); in reset()
29 EXPECT_NE(FTy, nullptr) << "Invalid function type string: " << IRType in reset()
70 const StringRef IRType = "void()") { in invokeParser() argument
76 reset(Name, IRType); in invokeParser()
/external/clang/lib/CodeGen/
DTargetInfo.cpp817 bool IsX86_MMXType(llvm::Type *IRType) { in IsX86_MMXType() argument
819 return IRType->isVectorTy() && IRType->getPrimitiveSizeInBits() == 64 && in IsX86_MMXType()
820 cast<llvm::VectorType>(IRType)->getElementType()->isIntegerTy() && in IsX86_MMXType()
821 IRType->getScalarSizeInBits() != 64; in IsX86_MMXType()
1917 llvm::Type *GetSSETypeAtOffset(llvm::Type *IRType,
1920 llvm::Type *GetINTEGERTypeAtOffset(llvm::Type *IRType,
2747 llvm::Type *IRType = CGT.ConvertType(Ty); in GetByteVectorType() local
2748 if (isa<llvm::VectorType>(IRType) || in GetByteVectorType()
2749 IRType->getTypeID() == llvm::Type::FP128TyID) in GetByteVectorType()
2750 return IRType; in GetByteVectorType()
[all …]
DCGExpr.cpp1944 llvm::Value *V, llvm::Type *IRType, in EmitBitCastOfLValueToProperType() argument
1947 return CGF.Builder.CreateBitCast(V, IRType->getPointerTo(AS), Name); in EmitBitCastOfLValueToProperType()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp1014 bool IsX86_MMXType(llvm::Type *IRType) { in IsX86_MMXType() argument
1016 return IRType->isVectorTy() && IRType->getPrimitiveSizeInBits() == 64 && in IsX86_MMXType()
1017 cast<llvm::VectorType>(IRType)->getElementType()->isIntegerTy() && in IsX86_MMXType()
1018 IRType->getScalarSizeInBits() != 64; in IsX86_MMXType()
2246 llvm::Type *GetSSETypeAtOffset(llvm::Type *IRType,
2249 llvm::Type *GetINTEGERTypeAtOffset(llvm::Type *IRType,
3243 llvm::Type *IRType = CGT.ConvertType(Ty); in GetByteVectorType() local
3244 if (isa<llvm::VectorType>(IRType)) { in GetByteVectorType()
3248 cast<llvm::VectorType>(IRType)->getElementType()->isIntegerTy(128)) { in GetByteVectorType()
3255 return IRType; in GetByteVectorType()
[all …]
DCGExpr.cpp2437 llvm::Value *V, llvm::Type *IRType, in EmitBitCastOfLValueToProperType() argument
2440 return CGF.Builder.CreateBitCast(V, IRType->getPointerTo(AS), Name); in EmitBitCastOfLValueToProperType()