/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APInt.h | 1244 APInt trunc(unsigned width) const;
|
/freebsd-current/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_hip_math.h | 1099 double trunc(double __x) { return __builtin_trunc(__x); } function
|
H A D | opencl-c.h | 7236 * Modulus. Returns x - y * trunc (x/y). 8633 float __ovld __cnfn trunc(float); 8634 float2 __ovld __cnfn trunc(float2); 8635 float3 __ovld __cnfn trunc(float3); 8636 float4 __ovld __cnfn trunc(float4); 8637 float8 __ovld __cnfn trunc(float8); 8638 float16 __ovld __cnfn trunc(float16); 8640 double __ovld __cnfn trunc(double); 8641 double2 __ovld __cnfn trunc(double2); 8642 double3 __ovld __cnfn trunc(double [all...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizationArtifactCombiner.h | 69 // aext(trunc x) - > aext/copy/trunc x 123 // zext(trunc x) - > and (aext/copy/trunc x), mask 197 // sext(trunc x) - > (sext_inreg (aext/copy/trunc x), c) 256 // Try to fold trunc(g_constant) when the smaller constant type is legal. 262 DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits())); 269 // Try to fold trunc(merge) to directly use the source of the merge. 300 // If the trunc siz [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 83 case Intrinsic::trunc:
|
H A D | ConstantFolding.cpp | 280 Result.push_back(ConstantInt::get(DstEltTy, Elt.trunc(DstBitSize))); 1198 // fold: icmp (inttoptr x), (inttoptr y) -> icmp trunc/zext x, trunc/zext y 1395 // zext/trunc the inttoptr to pointer size. 1425 // Do a zext or trunc to get to the ptrtoint dest size. 1621 case Intrinsic::trunc: 1694 Name == "trunc" || Name == "truncf"; 2122 if (IntrinsicID == Intrinsic::trunc) { 2145 // Rounding operations (floor, trunc, ceil, round and nearbyint) do not
|
H A D | ValueTracking.cpp | 1003 // Fall through and handle them the same as zext/trunc. 1083 Known = Known.trunc(SrcBitWidth); 3677 return Intrinsic::trunc; 3807 case Intrinsic::trunc: 4677 case Intrinsic::trunc: 4699 // intrinsics other than trunc. 4700 if (IID == Intrinsic::trunc || !V->getType()->isMultiUnitFPType()) { 5389 return ConstantInt::get(Ctx, CI->getValue().trunc(8)); 6645 case Intrinsic::trunc: 7888 // %tr = trunc i [all...] |
H A D | ScalarEvolution.cpp | 285 OS << "(trunc " << *Op->getType() << " " << *Op << " to " 943 MultiplyFactor = MultiplyFactor.trunc(W); 1005 // Since the operand is an integer already, just perform zext/trunc/self cast. 1154 // trunc(trunc(x)) --> trunc(x) 1158 // trunc(sext(x)) --> sext(x) if widening or trunc(x) if narrowing 1162 // trunc(zext(x)) --> zext(x) if widening or trunc( [all...] |
H A D | BasicAliasAnalysis.cpp | 258 /// Represents zext(sext(trunc(V))). 306 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); 324 // trunc(x op y) == trunc(x) op trunc(y) 334 /// Represents zext(sext(trunc(V))) * Scale + Offset. 388 // While we can distribute over trunc, we cannot preserve nowrap flags
|
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Interp.h | 286 Value.trunc(Result.bitWidth()).toString(Trunc, 10); 498 NegatedValue.trunc(Result.bitWidth()).toString(Trunc, 10); 552 APResult.trunc(Result.bitWidth()).toString(Trunc, 10);
|
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 1278 Dest.AggregateVal[i].IntVal = Src.AggregateVal[i].IntVal.trunc(DBitWidth); 1282 Dest.IntVal = Src.IntVal.trunc(DBitWidth); 1635 Elt.IntVal = Elt.IntVal.trunc(DstBitSize);
|
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 665 GV.IntVal = GV.IntVal.trunc(BitWidth);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 585 if (!materializeImm(GPRRegLow, Imm.trunc(32).getSExtValue(), MIB))
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 167 // operand of a trunc without duplicating all the logic below. 432 // trunc (lshr X, C) --> lshr (trunc X), C 465 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth);
|
H A D | InstructionCombining.cpp | 343 // Eg, if it was a trunc, we'd cast C1 to the source type because casting C2 3350 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); 3380 Value *NewCond = Builder.CreateTrunc(Cond, Ty, "trunc"); 3383 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth);
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 169 nfsv4stateid_t *stateidp, int trunc, fhandle_t *fhp, 4351 * The "trunc" argument is slightly overloaded and refers to different 4356 int trunc, fhandle_t *fhp, struct nfsvattr *nap, nfsattrbit_t *attrbitp, 4441 if (trunc) 4459 if (trunc) 4355 nfsrv_docallback(struct nfsclient *clp, int procnum, nfsv4stateid_t *stateidp, int trunc, fhandle_t *fhp, struct nfsvattr *nap, nfsattrbit_t *attrbitp, int laytype, NFSPROC_T *p) argument
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 180 if (CI->getValue().trunc(16).isAllOnes()) { 2007 case Intrinsic::trunc:
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 1763 // in two different registers, so the trunc is free since the low register can 7643 // (vXi1 = trunc vXiN vec) -> (vXi1 = setcc (and vec, 1), 0, ne) 12982 return DAG.getSetCC(dl, VT, SExtOp, DAG.getConstant(C1.trunc(32).sext(64), 13898 // Use the dedicated trunc static rounding mode if we're truncating so we 15170 SDValue Lo = DAG.getConstant(V.trunc(32), DL, MVT::i32); 15171 SDValue Hi = DAG.getConstant(V.lshr(32).trunc(32), DL, MVT::i32); 15323 // trunc (sra sext (X), zext (Y)) -> sra (X, smin (Y, scalarsize(Y) - 1)) 15824 NewC.insertBits(Val.getConstantOperandAPInt(i).trunc(EltSize), 16311 Known = KnownBits::urem(Known.trunc(32), Known2.trunc(3 [all...] |
/freebsd-current/crypto/openssl/crypto/bn/asm/ |
H A D | ia64.S | 1561 fcvt.fxu.trunc.s1 f8=f8 // [30] q = trunc(q3)
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 1263 // fq = trunc(fqm); 1264 CallInst *FQ = Builder.CreateUnaryIntrinsic(Intrinsic::trunc, FQM);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstructionSelector.cpp | 411 return selectExtInst(ResVReg, ResType, I, CL::trunc, GL::Trunc);
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1931 case Intrinsic::trunc:
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 1464 SDValue BitImmHiOp = DAG.getConstant(BitImm.lshr(32).trunc(32), DL, 1466 SDValue BitImmLoOp = DAG.getConstant(BitImm.trunc(32), DL, MVT::i32);
|
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 3557 int numops, taglen = -1, error = 0, trunc __unused; 3712 trunc = fxdr_unsigned(int, *tl);
|
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 2459 MUTATE_LDBL(trunc) 2925 Intrinsic::trunc, 3691 emitUnaryBuiltin(*this, E, llvm::Intrinsic::trunc, "elt.trunc")); 7483 // %res = trunc <4 x i32> %high to <4 x i16> 7942 // %res = trunc <4 x i32> %high to <4 x i16> 12366 : Intrinsic::trunc; 12405 : Intrinsic::trunc; 17041 // %conv = trunc i64 %a to i32 17042 // %conv1 = trunc i6 [all...] |