Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def638 __OMP_ATTRS_SET(SExt, AttributeSet(EnumAttr(SExt)))
663 ParamAttrs(ReadOnlyPtrAttrs, SExt))
665 ParamAttrs(ReadOnlyPtrAttrs, SExt))
667 ParamAttrs(ReadOnlyPtrAttrs, SExt))
671 __OMP_RTL_ATTRS(__kmpc_cancel, InaccessibleArgOnlyAttrs, SExt,
672 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt))
673 __OMP_RTL_ATTRS(__kmpc_cancel_barrier, BarrierAttrs, SExt,
674 ParamAttrs(ReadOnlyPtrAttrs, SExt))
677 SExt, SExt, SExt, SExt))
683 SExt, SExt))
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp178 SExtInst *SExt; member
182 ZExt(nullptr), SExt(nullptr) {} in MinMaxSinkInfo()
196 } else if (auto *SExt = dyn_cast<SExtInst>(V)) { in sinkMinMaxInBB() local
197 V = SExt->getOperand(0); in sinkMinMaxInBB()
198 Info.SExt = SExt; in sinkMinMaxInBB()
229 if (Info.SExt) { in sinkMinMaxInBB()
230 if (Info.SExt->getType() == V->getType()) in sinkMinMaxInBB()
232 return Builder.CreateSExt(V, Info.SExt->getType()); in sinkMinMaxInBB()
304 Instruction *ToRemove[] = {ICmp, Info.ZExt, Info.SExt, MinMax}; in sinkMinMaxInBB()
H A DBPFAdjustOpt.cpp334 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 DSpeculativeExecution.cpp228 case Instruction::SExt: in ComputeSpeculationCost()
H A DNaryReassociate.cpp364 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
365 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp104 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() local
105 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/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp53 case Instruction::SExt: in getRelevantOperands()
129 case Instruction::SExt: in buildTruncExpressionGraph()
395 case Instruction::SExt: { in ReduceExpressionGraph()
408 Opc == Instruction::SExt); in ReduceExpressionGraph()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h502 return Signed ? Attribute::SExt : Attribute::ZExt;
504 return Attribute::SExt;
532 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
534 return Attribute::SExt; in getExtAttrForI32Return()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp614 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
615 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
619 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
620 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
634 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
H A DInterleavedLoadCombinePass.cpp169 SExt, enumerator
504 pushBOperation(SExt, APInt(sizeof(n) * 8, n)); in sextOrTrunc()
592 case SExt: in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h61 enum { SExt, ZExt }; enumerator
H A DHexagonOptimizeSZextends.cpp68 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp863 if (Call->paramHasAttr(I, Attribute::SExt)) in selectCall()
1026 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
1028 const Value *Op = SExt->getOperand(0); in selectSExt()
1030 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
1038 updateValueMap(SExt, Reg); in selectSExt()
1389 if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::SExt)) in selectRet()
1423 case Instruction::SExt: in fastSelectInstruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h114 RetSExt = Call.hasRetAttr(Attribute::SExt); in setCallee()
138 RetSExt = Call.hasRetAttr(Attribute::SExt);
H A DCallingConvLower.h38 SExt, // The value is sign extended in the location. enumerator
137 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp82 (Cast->getOpcode() == Instruction::SExt || in matchVPDPBUSDPattern()
149 (Cast->getOpcode() == Instruction::SExt || in tryMAddReplacement()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp291 case Instruction::SExt: in getIntImmCostInst()
922 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) { in getCastInstrCost()
925 if (Opcode == Instruction::SExt && ST->hasVectorEnhancements3()) in getCastInstrCost()
936 if (Opcode == Instruction::SExt) in getCastInstrCost()
990 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h410 inline AllUnaryRecipe_match<Op0_t, Instruction::SExt> m_SExt(const Op0_t &Op0) { in m_SExt()
411 return m_Unary<Instruction::SExt, Op0_t>(Op0); in m_SExt()
416 AllUnaryRecipe_match<Op0_t, Instruction::SExt>>
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp197 case Instruction::SExt: in visitImpl()
201 return I->getOpcode() == Instruction::SExt in visitImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def117 OP(SExt) \
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h336 void setSignExt(bool SExt) { in setSignExt() argument
338 SignExt = SExt; in setSignExt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp80 case Instruction::Opcode::SExt: in notVectorizableBasedOnOpcodesAndTypes()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp322 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp882 case Instruction::SExt: in computeAddress()
3041 case CCValAssign::SExt: { in processCallArgs()
4686 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local
4687 if (!isIntExtFree(SExt)) { in selectMul()
4689 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul()
4692 Src0 = SExt->getOperand(0); in selectMul()
4749 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local
4750 if (!isIntExtFree(SExt)) { in selectShift()
4752 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift()
4755 Op0 = SExt->getOperand(0); in selectShift()
[all …]

123456