/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | TypePromotion.cpp | 241 else if (auto *Trunc = dyn_cast<TruncInst>(V)) in isSource() 242 return EqualTypeSize(Trunc); in isSource() 563 LLVM_DEBUG(dbgs() << "IR Promotion: Creating " << *TruncTy << " Trunc for " in TruncateSinks() 566 auto *Trunc = dyn_cast<Instruction>(Builder.CreateTrunc(V, TruncTy)); in TruncateSinks() 567 if (Trunc) in TruncateSinks() 568 NewInsts.insert(Trunc); in TruncateSinks() 569 return Trunc; in TruncateSinks() 582 if (Instruction *Trunc = InsertTrunc(Arg, Ty)) { in TruncateSinks() 583 Trunc->moveBefore(Call); in TruncateSinks() 584 Call->setArgOperand(i, Trunc); in TruncateSinks() 636 auto *Trunc = cast<TruncInst>(Src); Cleanup() local 658 auto *Trunc = cast<TruncInst>(V); ConvertTruncs() local 696 auto *Trunc = cast<TruncInst>(V); Mutate() local [all...] |
H A D | InterleavedLoadCombinePass.cpp | 171 Trunc, enumerator 498 pushBOperation(Trunc, APInt(sizeof(n) * 8, n)); in sextOrTrunc() 596 case Trunc: in print() 597 OS << "Trunc "; in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 508 Value *Trunc; in expandRemainderUpTo32Bits() local 520 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo32Bits() 522 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits() 556 Value *Trunc; in expandRemainderUpTo64Bits() local 568 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo64Bits() 570 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits() 605 Value *Trunc; in expandDivisionUpTo32Bits() local 617 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); in expandDivisionUpTo32Bits() 619 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits() 654 Value *Trunc; in expandDivisionUpTo64Bits() local [all...] |
H A D | BypassSlowDivision.cpp | 294 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); 296 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 193 case Instruction::Trunc: in EvaluateInDifferentType() 420 case Instruction::Trunc: in canEvaluateTruncated() 457 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC) { in foldVecTruncToExtElt() argument 458 Value *TruncOp = Trunc.getOperand(0); in foldVecTruncToExtElt() 459 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt() 496 Instruction *InstCombiner::narrowRotate(TruncInst &Trunc) { in narrowRotate() argument 497 assert((isa<VectorType>(Trunc.getSrcTy()) || in narrowRotate() 498 shouldChangeType(Trunc.getSrcTy(), Trunc.getType())) && in narrowRotate() 503 Type *DestTy = Trunc in narrowRotate() 580 narrowBinOp(TruncInst &Trunc) narrowBinOp() argument 638 shrinkSplatShuffle(TruncInst &Trunc, InstCombiner::BuilderTy &Builder) shrinkSplatShuffle() argument 658 shrinkInsertElt(CastInst &Trunc, InstCombiner::BuilderTy &Builder) shrinkInsertElt() argument 1168 Value *Trunc = Builder.CreateTrunc(A, CI.getType()); visitZExt() local [all...] |
H A D | InstCombineShifts.cpp | 48 Value *Trunc = nullptr; in reassociateShiftAmtsOfTwoSameDirectionShifts() local 50 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)), in reassociateShiftAmtsOfTwoSameDirectionShifts() 98 if (Trunc && !AnalyzeForSignBitExtraction && in reassociateShiftAmtsOfTwoSameDirectionShifts() 120 if (HadTwoRightShifts && (Trunc || AnalyzeForSignBitExtraction)) { in reassociateShiftAmtsOfTwoSameDirectionShifts() 139 if (!Trunc) { in reassociateShiftAmtsOfTwoSameDirectionShifts() 153 if (Trunc) { in reassociateShiftAmtsOfTwoSameDirectionShifts() 155 Ret = CastInst::Create(Instruction::Trunc, NewShift, Sh0->getType()); in reassociateShiftAmtsOfTwoSameDirectionShifts() 190 Value *Trunc; in dropRedundantMaskingOfLeftShiftInput() local 191 if (match(Masked, m_CombineAnd(m_Trunc(m_Value(Masked)), m_Value(Trunc))) && in dropRedundantMaskingOfLeftShiftInput() 192 !Trunc in dropRedundantMaskingOfLeftShiftInput() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 40 /// that instruction, with respect to the Trunc expression dag optimizaton. 44 case Instruction::Trunc: in getRelevantOperands() 104 case Instruction::Trunc: in buildTruncExpressionDag() 311 case Instruction::Trunc: in ReduceExpressionDag()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 207 Value *Trunc = Builder.CreateTrunc(ExtractBits, ArgIntTy); in runOnFunction() local 208 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction()
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.1/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/spirv-headers/include/spirv/1.0/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/spirv-headers/include/spirv/1.1/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/spirv-headers/include/spirv/1.2/ |
H A D | OpenCL.std.h | 98 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 448 /// Widen an integer or floating-point induction variable \p IV. If \p Trunc 451 void widenIntOrFpInduction(PHINode *IV, TruncInst *Trunc = nullptr); 1164 auto *Trunc = dyn_cast<TruncInst>(I); in isOptimizableIVTruncate() local 1165 if (!Trunc) in isOptimizableIVTruncate() 1177 Value *Op = Trunc->getOperand(0); in isOptimizableIVTruncate() 1699 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); 1805 void InnerLoopVectorizer::widenIntOrFpInduction(PHINode *IV, TruncInst *Trunc) { 1821 Instruction *EntryVal = Trunc ? cast<Instruction>(Trunc) : IV; 1868 if (Trunc) { [all...] |
H A D | VPlan.h | 797 TruncInst *Trunc; 800 VPWidenIntOrFpInductionRecipe(PHINode *IV, TruncInst *Trunc = nullptr) 801 : VPRecipeBase(VPWidenIntOrFpInductionSC), IV(IV), Trunc(Trunc) {}
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | OpenCL.std.h | 102 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/unified1/ |
H A D | OpenCL.std.h | 102 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1/ |
H A D | OpenCL.std.h | 102 Trunc = 66, enumerator
|
/third_party/spirv-headers/include/spirv/unified1/ |
H A D | OpenCL.std.h | 102 Trunc = 66, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMParallelDSP.cpp | 792 Value *Trunc = IRB.CreateTrunc(Top, OffsetTy); in CreateWideLoad() local 793 Value *NewOffsetSExt = IRB.CreateSExt(Trunc, OffsetSExt->getType()); in CreateWideLoad() 803 << *Trunc << "\n" in CreateWideLoad()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | duration.cc | 503 // Trunc/Floor/Ceil. 506 Duration Trunc(Duration d, Duration unit) { in Trunc() function 511 const absl::Duration td = Trunc(d, unit); in Floor() 516 const absl::Duration td = Trunc(d, unit); in Ceil()
|