Searched refs:TruncTy (Results 1 - 9 of 9) sorted by relevance
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 2312 llvm::Type *TruncTy = ResultTruncRegTypes[i]; local 2314 // Truncate the integer result to the right size, note that TruncTy can be 2316 if (TruncTy->isFloatingPointTy()) 2317 Tmp = Builder.CreateFPTrunc(Tmp, TruncTy); 2318 else if (TruncTy->isPointerTy() && Tmp->getType()->isIntegerTy()) { 2319 uint64_t ResSize = CGM.getDataLayout().getTypeSizeInBits(TruncTy); 2322 Tmp = Builder.CreateIntToPtr(Tmp, TruncTy); 2323 } else if (Tmp->getType()->isPointerTy() && TruncTy->isIntegerTy()) { 2327 Tmp = Builder.CreateTrunc(Tmp, TruncTy); 2328 } else if (TruncTy [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 1163 Type *&TruncTy, 1172 TruncTy = nullptr; 1216 TruncTy = nullptr; 1224 if ((!TruncTy || InvertStep) && 1230 TruncTy = SE.getEffectiveSCEVType(Normalized->getType()); 1392 Type *TruncTy = nullptr; local 1395 IntTy, TruncTy, InvertStep); 1438 if (TruncTy) { 1444 if (TruncTy != Result->getType()) { 1445 Result = Builder.CreateTrunc(Result, TruncTy); 1159 getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized, const Loop *L, Type *ExpandTy, Type *IntTy, Type *&TruncTy, bool &InvertStep) argument [all...] |
H A D | ScalarEvolution.cpp | 3180 Type *TruncTy = 3182 return getZeroExtendExpr(getTruncateExpr(LHS, TruncTy), FullTy); 4742 Type *TruncTy = nullptr; 4745 if ((TruncTy = 4820 getAddRecExpr(getTruncateExpr(StartVal, TruncTy), 4821 getTruncateExpr(Accum, TruncTy), L, SCEV::FlagAnyWrap); 4849 const SCEV *TruncatedExpr = getTruncateExpr(Expr, TruncTy); 6451 Type *TruncTy = IntegerType::get(getContext(), BitWidth - AShrAmt); 6464 getTruncateExpr(ShlOp0SCEV, TruncTy), OuterTy); 6472 // the multiplier, 1 << (ShlAmt - AShrAmt), fits into TruncTy a [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 403 Type *&TruncTy,
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TypePromotion.cpp | 556 auto InsertTrunc = [&](Value *V, Type *TruncTy) -> Instruction* { 563 LLVM_DEBUG(dbgs() << "IR Promotion: Creating " << *TruncTy << " Trunc for " 566 auto *Trunc = dyn_cast<Instruction>(Builder.CreateTrunc(V, TruncTy));
|
H A D | CodeGenPrepare.cpp | 5907 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); local 5908 EVT TruncVT = TLI->getValueType(*DL, TruncTy);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 644 auto *TruncTy = Type::getIntNTy(Instr->getContext(), NewWidth); local 645 auto *LHS = B.CreateTruncOrBitCast(Instr->getOperand(0), TruncTy, 647 auto *RHS = B.CreateTruncOrBitCast(Instr->getOperand(1), TruncTy,
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 1038 IntegerType *TruncTy = cast<IntegerType>(OrigTy); local 1039 Value *Mask = ConstantInt::get(DestTy, (1u << TruncTy->getBitWidth()) - 1);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 2151 Type *TruncTy = IntegerType::get(Cmp.getContext(), TypeBits - Amt); local 2153 TruncTy = VectorType::get(TruncTy, ShType->getVectorNumElements()); 2155 ConstantInt::get(TruncTy, C.ashr(*ShiftAmt).trunc(TypeBits - Amt)); 2156 return new ICmpInst(Pred, Builder.CreateTrunc(X, TruncTy), NewC);
|
Completed in 186 milliseconds