HomeSort by: relevance | last modified time | path
    Searched defs:DestTy (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
CallingConvEmitter.cpp 232 Record *DestTy = Action->getValueAsDef("DestTy");
233 MVT::SimpleValueType DestVT = getValueType(DestTy);
246 Record *DestTy = Action->getValueAsDef("DestTy");
247 MVT::SimpleValueType DestVT = getValueType(DestTy);
262 Record *DestTy = Action->getValueAsDef("DestTy");
263 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
266 Record *DestTy = Action->getValueAsDef("DestTy")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
VNCoercion.cpp 509 Type *DestTy = IntegerType::get(LoadTy->getContext(), NewLoadSize * 8);
511 PointerType::get(DestTy, PtrVal->getType()->getPointerAddressSpace());
514 LoadInst *NewLoad = Builder.CreateLoad(DestTy, PtrVal);
SCCPSolver.cpp 785 Type *DestTy = I.getDestTy();
793 OpRange.getBitWidth() < DL.getTypeSizeInBits(DestTy))
797 OpRange.castOp(I.getOpcode(), DL.getTypeSizeInBits(DestTy));
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGDeclCXX.cpp 124 auto DestTy = CGF.getTypes().ConvertType(Type)->getPointerTo(
128 Argument = llvm::ConstantExpr::getBitCast(Addr.getPointer(), DestTy);
132 Argument = llvm::ConstantPointerNull::get(DestTy);
CGExprCXX.cpp 2220 QualType DestTy) {
2221 llvm::Type *DestLTy = CGF.ConvertType(DestTy);
2222 if (DestTy->isPointerType())
2237 QualType DestTy = DCE->getTypeAsWritten();
2244 const PointerType *DestPTy = DestTy->getAs<PointerType>();
2256 DestRecordTy = DestTy->castAs<ReferenceType>()->getPointeeType();
2268 if (llvm::Value *T = EmitDynamicCastToNull(*this, DestTy))
2296 DestTy);
2301 DestTy, DestRecordTy, CastEnd);
CGClass.cpp 2085 QualType DestTy = getContext().getTypeDeclType(D->getParent());
2086 LValue Dest = MakeAddrLValue(This, DestTy);
2158 QualType DestTy = getContext().getTypeDeclType(ClassDecl);
2159 LValue DestLVal = MakeAddrLValue(This, DestTy);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
LegalizationArtifactCombiner.h 368 const LLT DestTy = MRI.getType(MI.getOperand(0).getReg());
372 const unsigned DestSize = DestTy.getSizeInBits();
375 if (SrcTy.isVector() && SrcTy.getScalarType() == DestTy.getScalarType()) {
386 DestTy.isVector() ? CastSrcTy.getNumElements() / NumDefs : 1;
406 if (CastSrcTy.isScalar() && SrcTy.isScalar() && !DestTy.isVector()) {
419 {TargetOpcode::G_UNMERGE_VALUES, {DestTy, CastSrcTy}}))
430 DstRegs[Idx] = MRI.createGenericVirtualRegister(DestTy);
447 LLT OpTy, LLT DestTy) {
456 // to the destination type (DestTy).
478 return !DestTy.isVector() && OpTy.isVector()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TypePromotion.cpp 663 IntegerType *DestTy = cast<IntegerType>(TruncTysMap[Trunc][0]);
665 unsigned NumBits = DestTy->getScalarSizeInBits();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
InferAddressSpaces.cpp 345 Type *DestTy = II->getType();
348 Intrinsic::getDeclaration(M, II->getIntrinsicID(), {DestTy, SrcTy});
  /src/external/apache2/llvm/dist/llvm/tools/llvm-stress/
llvm-stress.cpp 549 Type *DestTy = pickScalarType();
554 DestTy = pickVectorType(VecTy->getNumElements());
558 if (VTy == DestTy) return;
562 if (!DestTy->isPointerTy())
563 DestTy = PointerType::get(DestTy, 0);
565 new BitCastInst(V, DestTy, "PC", BB->getTerminator()));
569 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
574 new BitCastInst(V, DestTy, "BC", BB->getTerminator()));
578 if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 748 Type* DestTy = CE->getType();
752 assert(DestTy->isFloatingPointTy() && "invalid bitcast");
753 if (DestTy->isFloatTy())
755 else if (DestTy->isDoubleTy())
759 assert(DestTy->isIntegerTy(32) && "Invalid bitcast");
763 assert(DestTy->isIntegerTy(64) && "Invalid bitcast");
767 assert(DestTy->isPointerTy() && "Invalid bitcast");
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 416 auto *DestTy = PointerType::get(AI.getAllocatedType(), SrcAddrSpace);
421 Value *Cast = Builder.CreateBitCast(TheSrc, DestTy);
433 Value *Cast = Builder.CreateBitCast(TheSrc, DestTy);
InstCombineVectorOps.cpp 187 Type *DestTy = Ext.getType();
193 return new BitCastInst(Elt, DestTy);
235 bool NeedDestBitcast = DestTy->isFloatingPointTy();
240 unsigned DestWidth = DestTy->getPrimitiveSizeInBits();
264 return new BitCastInst(Builder.CreateTrunc(Scalar, DestIntTy), DestTy);
266 return new TruncInst(Scalar, DestTy);
1611 Type *DestTy = VectorType::get(
1615 return CastInst::Create(cast<CastInst>(I)->getOpcode(), NewOps[0], DestTy,
InstCombineAndOrXor.cpp 1575 Type *DestTy = Logic.getType();
1585 Constant *ZextTruncC = ConstantExpr::getZExt(TruncC, DestTy);
1589 return new ZExtInst(NewOp, DestTy);
1595 Constant *SextTruncC = ConstantExpr::getSExt(TruncC, DestTy);
1599 return new SExtInst(NewOp, DestTy);
1618 Type *DestTy = I.getType();
1643 return CastInst::Create(CastOpcode, NewOp, DestTy);
1658 return CastInst::Create(CastOpcode, Res, DestTy);
1668 return CastInst::Create(CastOpcode, R, DestTy);
InstCombineCasts.cpp 527 Type *DestTy = Trunc.getType();
528 unsigned NarrowWidth = DestTy->getScalarSizeInBits();
609 Value *NarrowShAmt = Builder.CreateTrunc(ShAmt, DestTy);
611 X = Y = Builder.CreateTrunc(ShVal0, DestTy);
613 Y = Builder.CreateTrunc(ShVal1, DestTy);
615 Function *F = Intrinsic::getDeclaration(Trunc.getModule(), IID, DestTy);
624 Type *DestTy = Trunc.getType();
625 if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy))
644 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy);
645 Value *TruncX = Builder.CreateTrunc(BinOp1, DestTy);
    [all...]
InstCombineCompares.cpp 4465 // re-extended to DestTy.
4467 Type *DestTy = CastOp0->getDestTy();
4469 Constant *Res2 = ConstantExpr::getCast(CastOp0->getOpcode(), Res1, DestTy);
4514 Type *DestTy = CastOp0->getDestTy();
4518 auto CompatibleSizes = [&](Type *SrcTy, Type *DestTy) {
4521 DestTy = cast<VectorType>(DestTy)->getElementType();
4523 return DL.getPointerTypeSizeInBits(SrcTy) == DestTy->getIntegerBitWidth();
4526 CompatibleSizes(SrcTy, DestTy)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp 1439 Type *DestTy = ToVectorTy(cast<CastInst>(I)->getDestTy(), VF);
1447 if (Op != Legal->getPrimaryInduction() && TTI.isTruncateFree(SrcTy, DestTy))
5031 Type *DestTy =
5036 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy);
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseExpr.cpp 2628 TypeResult DestTy = ParseTypeName();
2629 if (DestTy.isInvalid())
2639 Res = Actions.ActOnAsTypeExpr(Expr.get(), DestTy.get(), StartLoc,
2657 TypeResult DestTy = ParseTypeName();
2658 if (DestTy.isInvalid())
2668 Res = Actions.ActOnConvertVectorExpr(Expr.get(), DestTy.get(), StartLoc,
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ConstantFolding.cpp 71 static Constant *foldConstVectorToAPInt(APInt &Result, Type *DestTy,
92 return ConstantExpr::getBitCast(C, DestTy);
104 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) {
105 assert(CastInst::castIsValid(Instruction::BitCast, C, DestTy) &&
109 if (C->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy())
110 return Constant::getNullValue(DestTy);
111 if (C->isAllOnesValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy() &&
112 !DestTy->isPtrOrPtrVectorTy()) // Don't get ones for ptr types
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsFastISel.cpp 1802 Type *DestTy = I->getType();
1813 DestEVT = TLI.getValueType(DL, DestTy, true);
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 1900 Type *DestTy = I->getType();
1910 DestEVT = TLI.getValueType(DL, DestTy, true);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64FastISel.cpp 3856 Type *DestTy = I->getType();
3861 EVT DestEVT = TLI.getValueType(DL, DestTy, true);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMFastISel.cpp 2740 Type *DestTy = I->getType();
2750 DestEVT = TLI.getValueType(DL, DestTy, true);
ARMISelDAGToDAG.cpp 4935 llvm::EVT DestTy = N->getValueType(0);
4939 CurDAG->SelectNodeTo(N, ARM::BF16_VCVTB, DestTy, Ops);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmt.cpp 3248 QualType DestTy = Context.getPointerType(Context.VoidTy.withConst());
3251 CheckSingleAssignmentConstraints(DestTy, ExprRes);
3255 if (DiagnoseAssignmentResult(ConvTy, StarLoc, DestTy, ETy, E, AA_Passing))

Completed in 141 milliseconds

1 2