Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h168 void bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx);
172 void bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx);
371 LLT CastTy);
375 LLT CastTy);
377 LLT CastTy);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp1091 ParsedType CastTy; in ParseCastExpression() local
1094 isTypeCast == IsTypeCast, CastTy, RParenLoc); in ParseCastExpression()
2433 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait() argument
2492 false, CastTy, RParenLoc); in ParseExprAfterUnaryExprOrTypeTrait()
2627 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression() local
2631 CastTy, in ParseUnaryExprOrTypeTraitExpression()
2663 CastTy.getAsOpaquePtr(), in ParseUnaryExprOrTypeTraitExpression()
3026 bool isTypeCast, ParsedType &CastTy, in ParseParenExpression() argument
3039 CastTy = nullptr; in ParseParenExpression()
3150 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
H A DParseExprCXX.cpp4055 ParsedType &CastTy, in ParseCXXAmbiguousParenExpression() argument
4063 CastTy = nullptr; in ParseCXXAmbiguousParenExpression()
4175 DeclaratorInfo, CastTy, in ParseCXXAmbiguousParenExpression()
H A DParseDecl.cpp8332 ParsedType CastTy; in ParseTypeofSpecifier() local
8335 ParseExprAfterUnaryExprOrTypeTrait(OpTok, isCastExpr, CastTy, CastRange)); in ParseTypeofSpecifier()
8346 if (!CastTy) { in ParseTypeofSpecifier()
8357 DiagID, CastTy, in ParseTypeofSpecifier()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h162 QualType CastTy = SC->getType(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
164 if (CastTy->isVoidType()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DSValBuilder.h84 SVal evalCast(SVal V, QualType CastTy, QualType OriginalTy);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1831 void LegalizerHelper::bitcastSrc(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastSrc() argument
1833 Op.setReg(MIRBuilder.buildBitcast(CastTy, Op).getReg(0)); in bitcastSrc()
1836 void LegalizerHelper::bitcastDst(MachineInstr &MI, LLT CastTy, unsigned OpIdx) { in bitcastDst() argument
1838 Register CastDst = MRI.createGenericVirtualRegister(CastTy); in bitcastDst()
3227 LLT CastTy) { in bitcastExtractVectorElt() argument
3234 unsigned NewNumElts = CastTy.isVector() ? CastTy.getNumElements() : 1; in bitcastExtractVectorElt()
3237 LLT NewEltTy = CastTy.isVector() ? CastTy.getElementType() : CastTy; in bitcastExtractVectorElt()
3238 Register CastVec = MIRBuilder.buildBitcast(CastTy, SrcVec).getReg(0); in bitcastExtractVectorElt()
3309 if (CastTy.isVector()) { in bitcastExtractVectorElt()
3363 LLT CastTy) { in bitcastInsertVectorElt() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1388 QualType ValTy, QualType CastTy, in castValueToType() argument
1390 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType()
1394 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType()
1395 if (ValTy == CastTy) in castValueToType()
1398 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType()
1400 if (CastTy->isIntegerType() && ValTy->isIntegerType()) in castValueToType()
1402 CastTy->hasSignedIntegerRepresentation()); in castValueToType()
1403 Address CastItem = CGF.CreateMemTemp(CastTy); in castValueToType()
1408 return CGF.EmitLoadOfScalar(CastItem, /*Volatile=*/false, CastTy, Loc, in castValueToType()
H A DCGObjCGNU.cpp2708 llvm::Type *CastTy = llvm::StructType::get(IdTy, IdTy); in GenerateMessageSendSuper() local
2710 llvm::PointerType::getUnqual(CastTy)); in GenerateMessageSendSuper()
2712 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1925 ParsedType &CastTy,
1950 ParsedType &CastTy,
1954 ParenParseOption &ExprType, ParsedType &CastTy,
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp543 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem() local
544 return DAG.getBitcast(CastTy, Vec); in opCastElem()
3497 EVT CastTy = Cast.getValueType(); in combineTruncateBeforeLegal() local
3504 unsigned CastLen = CastTy.getVectorNumElements(); in combineTruncateBeforeLegal()
H A DHexagonISelLowering.cpp3885 Type *CastTy = Builder.getIntNTy(SZ); in emitStoreConditional() local
3891 Val = Builder.CreateBitCast(Val, CastTy); in emitStoreConditional()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp13153 Type *CastTy = R->getType(); in vectorizeTree() local
13154 L = Builder.CreateIntCast(L, CastTy, GetOperandSignedness(0)); in vectorizeTree()
13156 Type *CastTy = L->getType(); in vectorizeTree() local
13157 R = Builder.CreateIntCast(R, CastTy, GetOperandSignedness(1)); in vectorizeTree()
13505 auto *CastTy = in vectorizeTree() local
13507 OpVec = Builder.CreateIntCast(OpVec, CastTy, GetOperandSignedness(I)); in vectorizeTree()
13575 Type *CastTy = VecTy; in vectorizeTree() local
13582 CastTy = RHS->getType(); in vectorizeTree()
13584 CastTy = LHS->getType(); in vectorizeTree()
13586 if (LHS->getType() != CastTy) in vectorizeTree()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1596 Type *CastTy = FixedVectorType::get(SrcTy, VTy->getNumElements() / 2); in foldTruncInsEltPair() local
1597 Value *CastBaseVec = Builder.CreateBitCast(BaseVec, CastTy); in foldTruncInsEltPair()
H A DInstructionCombining.cpp389 Type *CastTy = IntToPtr->getDestTy(); in simplifyIntToPtrRoundTripCast() local
391 CastTy->getPointerAddressSpace() == in simplifyIntToPtrRoundTripCast()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp7151 QualType CastTy = llvm::StringSwitch<QualType>(Name) in shouldNotPrintDirectly() local
7159 if (!CastTy.isNull()) in shouldNotPrintDirectly()
7160 return std::make_pair(CastTy, Name); in shouldNotPrintDirectly()
7410 QualType CastTy; in checkFormatExpr() local
7411 std::tie(CastTy, CastTyName) = shouldNotPrintDirectly(S.Context, IntendedTy, E); in checkFormatExpr()
7412 if (!CastTy.isNull()) { in checkFormatExpr()
7419 AT.matchesType(S.Context, CastTy)) in checkFormatExpr()
7421 IntendedTy = CastTy; in checkFormatExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp571 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConst() local
572 Res = FoldBitCast(Res, CastTy, DL); in FoldReinterpretLoadFromConst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp856 bool AMDGPUTargetLowering::isLoadBitCastBeneficial(EVT LoadTy, EVT CastTy, in isLoadBitCastBeneficial() argument
860 assert(LoadTy.getSizeInBits() == CastTy.getSizeInBits()); in isLoadBitCastBeneficial()
866 unsigned CastScalarSize = CastTy.getScalarSizeInBits(); in isLoadBitCastBeneficial()
873 CastTy, MMO, &Fast) && in isLoadBitCastBeneficial()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2272 Type *CastTy = Builder.getIntNTy(Size <= 4 ? 32 : 64); in createRuntimeShuffleFunction() local
2273 Value *ElemCast = castValueToType(AllocaIP, Element, CastTy); in createRuntimeShuffleFunction()
2283 return castValueToType(AllocaIP, ShuffleCall, CastTy); in createRuntimeShuffleFunction()