Home
last modified time | relevance | path

Searched refs:SExt (Results 1 – 25 of 137) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def631 __OMP_ATTRS_SET(SExt, AttributeSet(EnumAttr(SExt)))
656 ParamAttrs(ReadOnlyPtrAttrs, SExt))
658 ParamAttrs(ReadOnlyPtrAttrs, SExt))
660 ParamAttrs(ReadOnlyPtrAttrs, SExt))
664 __OMP_RTL_ATTRS(__kmpc_cancel, InaccessibleArgOnlyAttrs, SExt,
665 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt))
666 __OMP_RTL_ATTRS(__kmpc_cancel_barrier, BarrierAttrs, SExt,
667 ParamAttrs(ReadOnlyPtrAttrs, SExt))
670 SExt, SExt, SExt, SExt))
676 SExt, SExt))
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp181 SExtInst *SExt; member
185 ZExt(nullptr), SExt(nullptr) {} in MinMaxSinkInfo()
199 } else if (auto *SExt = dyn_cast<SExtInst>(V)) { in sinkMinMaxInBB() local
200 V = SExt->getOperand(0); in sinkMinMaxInBB()
201 Info.SExt = SExt; in sinkMinMaxInBB()
232 if (Info.SExt) { in sinkMinMaxInBB()
233 if (Info.SExt->getType() == V->getType()) in sinkMinMaxInBB()
235 return Builder.CreateSExt(V, Info.SExt->getType()); in sinkMinMaxInBB()
307 Instruction *ToRemove[] = {ICmp, Info.ZExt, Info.SExt, MinMax}; in sinkMinMaxInBB()
H A DBPFAdjustOpt.cpp335 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp153 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local
154 V = SExt->getOperand(0); in handlePhiDef()
155 Operations.push_back(SExt); in handlePhiDef()
182 case Instruction::SExt: in handlePhiDef()
H A DNaryReassociate.cpp364 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
365 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
H A DSpeculativeExecution.cpp228 case Instruction::SExt: in ComputeSpeculationCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp105 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() local
106 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0))) in InsertMuls()
325 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local
326 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
329 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence()
469 case Instruction::SExt: in Search()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h486 return Signed ? Attribute::SExt : Attribute::ZExt;
488 return Attribute::SExt;
516 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
518 return Attribute::SExt; in getExtAttrForI32Return()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp17 // The only exception is for {ZExt, SExt}Inst with operand type equal to
53 case Instruction::SExt: in getRelevantOperands()
130 case Instruction::SExt: in buildTruncExpressionGraph()
396 case Instruction::SExt: { in ReduceExpressionGraph()
409 Opc == Instruction::SExt); in ReduceExpressionGraph()
515 // it, because {SExt, ZExt}Inst Instruction might have other users that was in ReduceExpressionGraph()
521 "Only {SExt, ZExt}Inst might have unreduced users"); in ReduceExpressionGraph()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp613 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
614 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
618 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
619 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
633 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
H A DInterleavedLoadCombinePass.cpp170 SExt, enumerator
505 pushBOperation(SExt, APInt(sizeof(n) * 8, n)); in sextOrTrunc()
593 case SExt: in print()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h253 inline AllUnaryRecipe_match<Op0_t, Instruction::SExt> m_SExt(const Op0_t &Op0) {
254 return m_Unary<Instruction::SExt, Op0_t>(Op0);
259 AllUnaryRecipe_match<Op0_t, Instruction::SExt>>
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp857 if (Call->paramHasAttr(I, Attribute::SExt)) in selectCall()
1017 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
1019 const Value *Op = SExt->getOperand(0); in selectSExt()
1021 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
1029 updateValueMap(SExt, Reg); in selectSExt()
1380 if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::SExt)) in selectRet()
1414 case Instruction::SExt: in fastSelectInstruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h37 SExt, // The value is sign extended in the location. enumerator
136 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
H A DFastISel.h114 RetSExt = Call.hasRetAttr(Attribute::SExt); in setCallee()
138 RetSExt = Call.hasRetAttr(Attribute::SExt);
H A DBasicTTIImpl.h1094 case Instruction::SExt:
1146 if (Opcode == Instruction::SExt)
1800 Cost += thisT()->getCastInstrCost(Instruction::SExt, NewVecTy, in getIntrinsicInstrCost()
2195 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2261 unsigned ExtOp = IsSigned ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2624 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedReductionCost()
2640 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getMulAccReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp84 (Cast->getOpcode() == Instruction::SExt || in matchVPDPBUSDPattern()
151 (Cast->getOpcode() == Instruction::SExt || in tryMAddReplacement()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp212 case Instruction::SExt: in getIntImmCostInst()
798 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) { in getCastInstrCost()
809 if (Opcode == Instruction::SExt) in getCastInstrCost()
863 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h332 void setSignExt(bool SExt) { in setSignExt() argument
334 SignExt = SExt; in setSignExt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp201 case Instruction::SExt: in visitImpl()
205 return I->getOpcode() == Instruction::SExt in visitImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp73 Attribute::SExt, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp887 case Instruction::SExt: in computeAddress()
3043 case CCValAssign::SExt: { in processCallArgs()
4683 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local
4684 if (!isIntExtFree(SExt)) { in selectMul()
4686 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul()
4689 Src0 = SExt->getOperand(0); in selectMul()
4747 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local
4748 if (!isIntExtFree(SExt)) { in selectShift()
4750 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift()
4753 Op0 = SExt->getOperand(0); in selectShift()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp327 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction()

123456