Home
last modified time | relevance | path

Searched refs:CastTy (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/third_party/subzero/crosstest/
Dtest_vector_ops.h27 #define CASTTY(TYNAME) FIELD(TYNAME, CastTy)
30 static Ty (*insertelement)(Ty, CastTy, int32_t); \
32 static CastTy (*extractelement)(Ty, int32_t); \
33 static Ty (*Subzero_insertelement)(Ty, CastTy, int32_t); \
35 static CastTy (*Subzero_extractelement)(Ty, int32_t); \
Dtest_vector_ops_main.cpp91 << ", Element=" << (typename VectorOps<T>::CastTy)Elt in testInsertElement()
107 typedef typename VectorOps<T>::CastTy CastTy; in testExtractElement() typedef
115 CastTy ResultLlc = VectorOps<T>::extractelement(Vect, I); in testExtractElement()
116 CastTy ResultSz = VectorOps<T>::Subzero_extractelement(Vect, I); in testExtractElement()
Dvectors.h64 typedef CASTTY CastTy; \
90 OS << (typename Vectors<T>::CastTy)Vect[i]; in vectAsString()
Dtest_vector_ops.cpp734 #define X(Ty, ElmtTy, CastTy) \ argument
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h154 void bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx);
158 void bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx);
329 LLT CastTy);
333 LLT CastTy);
/external/clang/lib/Parse/
DParseExpr.cpp720 ParsedType CastTy; in ParseCastExpression() local
723 isTypeCast == IsTypeCast, CastTy, RParenLoc); in ParseCastExpression()
1736 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait() argument
1786 false, CastTy, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
1885 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression() local
1889 CastTy, in ParseUnaryExprOrTypeTraitExpression()
1904 CastTy.getAsOpaquePtr(), in ParseUnaryExprOrTypeTraitExpression()
2185 bool isTypeCast, ParsedType &CastTy, in ParseParenExpression() argument
2196 CastTy = nullptr; in ParseParenExpression()
2301 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
DParseExprCXX.cpp3100 ParsedType &CastTy, in ParseCXXAmbiguousParenExpression() argument
3108 CastTy = nullptr; in ParseCXXAmbiguousParenExpression()
3218 DeclaratorInfo, CastTy, in ParseCXXAmbiguousParenExpression()
DParseDecl.cpp6273 ParsedType CastTy; in ParseTypeofSpecifier() local
6276 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier()
6287 if (!CastTy) { in ParseTypeofSpecifier()
6296 DiagID, CastTy, in ParseTypeofSpecifier()
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp955 ParsedType CastTy; in ParseCastExpression() local
958 isTypeCast == IsTypeCast, CastTy, RParenLoc); in ParseCastExpression()
2245 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait() argument
2295 false, CastTy, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
2396 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression() local
2400 CastTy, in ParseUnaryExprOrTypeTraitExpression()
2417 CastTy.getAsOpaquePtr(), in ParseUnaryExprOrTypeTraitExpression()
2758 bool isTypeCast, ParsedType &CastTy, in ParseParenExpression() argument
2771 CastTy = nullptr; in ParseParenExpression()
2881 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
DParseExprCXX.cpp3838 ParsedType &CastTy, in ParseCXXAmbiguousParenExpression() argument
3846 CastTy = nullptr; in ParseCXXAmbiguousParenExpression()
3957 DeclaratorInfo, CastTy, in ParseCXXAmbiguousParenExpression()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1370 void LegalizerHelper::bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastSrc() argument
1372 Op.setReg(MIRBuilder.buildBitcast(CastTy, Op).getReg(0)); in bitcastSrc()
1375 void LegalizerHelper::bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastDst() argument
1377 Register CastDst = MRI.createGenericVirtualRegister(CastTy); in bitcastDst()
2444 LLT CastTy) { in bitcastExtractVectorElt() argument
2455 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt()
2458 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastExtractVectorElt()
2459 Register CastVec = MIRBuilder.buildBitcast(CastTy, SrcVec).getReg(0); in bitcastExtractVectorElt()
2529 if (CastTy.isVector()) { in bitcastExtractVectorElt()
2583 LLT CastTy) { in bitcastInsertVectorElt() argument
[all …]
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConstraintManager.h158 QualType CastTy = SC->getType(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
160 if (CastTy->isVoidType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp62 SVal SimpleSValBuilder::dispatchCast(SVal Val, QualType CastTy) { in dispatchCast() argument
64 return Val.getAs<Loc>() ? evalCastFromLoc(Val.castAs<Loc>(), CastTy) in dispatchCast()
65 : evalCastFromNonLoc(Val.castAs<NonLoc>(), CastTy); in dispatchCast()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp68 SVal SimpleSValBuilder::dispatchCast(SVal Val, QualType CastTy) { in dispatchCast() argument
70 return Val.getAs<Loc>() ? evalCastFromLoc(Val.castAs<Loc>(), CastTy) in dispatchCast()
71 : evalCastFromNonLoc(Val.castAs<NonLoc>(), CastTy); in dispatchCast()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp2435 QualType ValTy, QualType CastTy, in castValueToType() argument
2437 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType()
2441 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType()
2442 if (ValTy == CastTy) in castValueToType()
2445 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType()
2447 if (CastTy->isIntegerType() && ValTy->isIntegerType()) in castValueToType()
2449 CastTy->hasSignedIntegerRepresentation()); in castValueToType()
2450 Address CastItem = CGF.CreateMemTemp(CastTy); in castValueToType()
2456 return CGF.EmitLoadOfScalar(CastItem, /*Volatile=*/false, CastTy, Loc, in castValueToType()
2483 QualType CastTy = CGF.getContext().getIntTypeForBitwidth( in createRuntimeShuffleFunction() local
[all …]
DCGObjCGNU.cpp2584 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy); in GenerateMessageSendSuper() local
2586 llvm::PointerType::getUnqual(CastTy)); in GenerateMessageSendSuper()
2588 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper()
/external/clang/include/clang/Parse/
DParser.h1452 ParsedType &CastTy,
1479 ParsedType &CastTy,
1483 ParenParseOption &ExprType, ParsedType &CastTy,
/external/llvm-project/clang/include/clang/Parse/
DParser.h1824 ParsedType &CastTy,
1852 ParsedType &CastTy,
1856 ParenParseOption &ExprType, ParsedType &CastTy,
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp1326 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy, nullptr); in GenerateMessageSendSuper() local
1328 llvm::PointerType::getUnqual(CastTy)); in GenerateMessageSendSuper()
1330 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp254 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem() local
255 return DAG.getBitcast(CastTy, Vec); in opCastElem()
DHexagonISelLowering.cpp3328 Type *CastTy = Builder.getIntNTy(SZ); in emitStoreConditional() local
3335 Addr = Builder.CreateBitCast(Addr, CastTy->getPointerTo(AS)); in emitStoreConditional()
3336 Val = Builder.CreateBitCast(Val, CastTy); in emitStoreConditional()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp533 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConstPtr() local
534 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConstPtr()
/external/clang/lib/Sema/
DSemaChecking.cpp5062 QualType CastTy = llvm::StringSwitch<QualType>(Name) in shouldNotPrintDirectly() local
5069 if (!CastTy.isNull()) in shouldNotPrintDirectly()
5070 return std::make_pair(CastTy, Name); in shouldNotPrintDirectly()
5205 QualType CastTy; in checkFormatExpr() local
5206 std::tie(CastTy, CastTyName) = shouldNotPrintDirectly(S.Context, IntendedTy, E); in checkFormatExpr()
5207 if (!CastTy.isNull()) { in checkFormatExpr()
5208 IntendedTy = CastTy; in checkFormatExpr()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp3520 Type *CastTy = Builder.getIntNTy(SZ); in emitStoreConditional() local
3527 Addr = Builder.CreateBitCast(Addr, CastTy->getPointerTo(AS)); in emitStoreConditional()
3528 Val = Builder.CreateBitCast(Val, CastTy); in emitStoreConditional()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp536 EVT CastTy) const { in isLoadBitCastBeneficial()
538 assert(LoadTy.getSizeInBits() == CastTy.getSizeInBits()); in isLoadBitCastBeneficial()
544 unsigned CastScalarSize = CastTy.getScalarSizeInBits(); in isLoadBitCastBeneficial()

12