Searched refs:Trunc (Results 51 - 75 of 92) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp1398 auto Trunc = B.buildInstr(TargetOpcode::G_INTRINSIC_TRUNC, {S64}, {Src});
1403 auto NeTrunc = B.buildFCmp(CmpInst::FCMP_ONE, S1, Src, Trunc);
1408 B.buildFAdd(MI.getOperand(0).getReg(), Trunc, Add);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4077 auto Trunc = MIRBuilder.buildTrunc(Src0Ty, Shift); local
4078 auto And1 = MIRBuilder.buildAnd(Src0Ty, Trunc, SignBitMask);
4149 auto Trunc = MIRBuilder.buildIntrinsicTrunc(Ty, SrcReg, Flags); local
4154 SrcReg, Trunc, Flags);
4158 MIRBuilder.buildFAdd(DstReg, Trunc, AddVal);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstructionSelector.cpp1279 auto Trunc = MIB.buildInstr(TargetOpcode::COPY, {SrcTy}, {}) local
1281 MRI.setRegBank(Trunc.getReg(0), RBI.getRegBank(AArch64::GPRRegBankID));
1282 I.getOperand(2).setReg(Trunc.getReg(0));
H A DAArch64ISelLowering.cpp3090 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, MVT::v8i8, TruncExt); local
3092 Trunc = DAG.getNode(ISD::BITCAST, DL, MVT::v2i32, Trunc);
3094 Trunc, DAG.getConstant(0, DL, MVT::i64));
3474 case CCValAssign::Trunc:
4090 case CCValAssign::Trunc:
8953 case Instruction::Trunc:
13136 Value *Trunc = Builder.CreateTrunc(Builder.CreateCall(Ldxr, Addr), IntEltTy); local
13138 return Builder.CreateBitCast(Trunc, EltTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1198 case Instruction::Trunc: {
2692 case Instruction::Trunc:
4503 case Instruction::Trunc:
5164 case Instruction::Trunc:
H A DConstantFolding.cpp1354 case Instruction::Trunc:
H A DLazyValueInfo.cpp1033 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp631 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3953 // SExt or Trunc instructions.
4029 Value *Trunc = TPT.createTrunc(Ext, ExtOpnd->getType()); local
4030 if (Instruction *ITrunc = dyn_cast<Instruction>(Trunc)) {
4037 TPT.replaceAllUsesWith(ExtOpnd, Trunc);
5878 case Instruction::Trunc: {
H A DTargetLoweringBase.cpp1620 case Trunc: return ISD::TRUNCATE;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp656 case Instruction::Trunc: {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp391 case Instruction::Trunc: {
H A DInstructionCombining.cpp1350 if (Cast->getOpcode() == Instruction::Trunc) {
1415 } else if (Ancestor->getOpcode() == Instruction::Trunc) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp1516 case Instruction::Trunc:
H A DGVN.cpp519 case Instruction::Trunc:
H A DLoopStrengthReduce.cpp2739 if (TruncInst *Trunc = dyn_cast<TruncInst>(Oper))
2740 return Trunc->getOperand(0);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3262 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, MinVT, PreExt); local
3265 return DAG.getSetCC(dl, VT, Trunc, DAG.getConstant(0, dl, MVT::i1),
3268 return DAG.getSetCC(dl, VT, Trunc, C, Cond);
6637 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SL, MemSclVT, Elt);
6638 SDValue ExtElt = DAG.getNode(ISD::ZERO_EXTEND, SL, IntVT, Trunc);
H A DFastISel.cpp1906 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp13027 SDValue Trunc = DAG.getNode(ISD::FP_ROUND, dl, local
13030 Ops.push_back(Trunc);
13889 SDNode *Trunc = *UI++;
13892 if (Trunc->getOpcode() != ISD::TRUNCATE)
13893 std::swap(Trunc, RightShift);
13895 if (Trunc->getOpcode() != ISD::TRUNCATE ||
13896 Trunc->getValueType(0) != MVT::i32 ||
13897 !Trunc->hasOneUse())
13911 SDNode *Bitcast = *Trunc->use_begin();
H A DPPCISelDAGToDAG.cpp2472 enum ExtOrTruncConversion { Ext, Trunc }; enumerator in enum:__anon2358::IntegerCompareEliminator::ExtOrTruncConversion
2578 ExtOrTruncConversion::Trunc);
2819 assert(Conv == ExtOrTruncConversion::Trunc &&
H A DPPCFastISel.cpp1977 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp2073 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp990 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp2045 case Instruction::Trunc:
H A DNVPTXISelLowering.cpp2220 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, MVT::i1, Select); local
2222 return Trunc;

Completed in 715 milliseconds

1234