Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def667 SExt, SExt, SExt, SExt))
673 SExt, SExt))
679 SExt, SExt, SExt))
826 SExt, SExt, SExt))
838 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, SExt, SExt, SExt, SExt))
840 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, ZExt, ZExt, SExt, SExt))
924 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, SExt))
948 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, SExt))
1021 SExt, SExt, SExt, AttributeSet(), SExt))
1063 ParamAttrs(AttributeSet(), SExt, SExt, SExt, SExt,
[all …]
/freebsd-14.2/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.cpp335 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp103 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() local
104 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0))) in InsertMuls()
323 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local
324 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
327 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence()
467 case Instruction::SExt: in Search()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h489 return Signed ? Attribute::SExt : Attribute::ZExt;
491 return Attribute::SExt;
519 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
521 return Attribute::SExt; in getExtAttrForI32Return()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp53 case Instruction::SExt: in getRelevantOperands()
130 case Instruction::SExt: in buildTruncExpressionGraph()
396 case Instruction::SExt: { in ReduceExpressionGraph()
409 Opc == Instruction::SExt); in ReduceExpressionGraph()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp647 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
648 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
652 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
653 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
667 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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp842 if (Call->paramHasAttr(I, Attribute::SExt)) in selectCall()
1010 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
1012 const Value *Op = SExt->getOperand(0); in selectSExt()
1014 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
1022 updateValueMap(SExt, Reg); in selectSExt()
1372 if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::SExt)) in selectRet()
1406 case Instruction::SExt: in fastSelectInstruction()
/freebsd-14.2/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);
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp68 Attribute::SExt, in isValidForDXIL()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp208 case Instruction::SExt: in getIntImmCostInst()
796 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) { in getCastInstrCost()
807 if (Opcode == Instruction::SExt) in getCastInstrCost()
861 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp199 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction()
299 case Instruction::SExt: in ConstantFoldCastInstruction()
1519 Idx0 = ConstantFoldCastInstruction(Instruction::SExt, Idx0, CommonTy); in foldGEPOfGEP()
1522 ConstantFoldCastInstruction(Instruction::SExt, LastIdx, CommonTy); in foldGEPOfGEP()
1710 ConstantFoldCastInstruction(Instruction::SExt, PrevIdx, ExtendedTy); in ConstantFoldGetElementPtr()
1713 Div = ConstantFoldCastInstruction(Instruction::SExt, Div, ExtendedTy); in ConstantFoldGetElementPtr()
H A DInstructions.cpp3055 case Instruction::SExt: in isIntegerCast()
3081 case Instruction::SExt: in isNoopCast()
3362 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
3398 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast()
3406 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3509 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3523 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3646 return SExt; // signed -> SEXT in getCastOpcode()
3747 case Instruction::SExt: in castIsValid()
3842 ) : CastInst(Ty, SExt, S, Name, InsertBefore) { in SExtInst()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h332 void setSignExt(bool SExt) { in setSignExt() argument
334 SignExt = SExt; in setSignExt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp166 case Instruction::SExt: in inferScalarTypeForRecipe()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp886 case Instruction::SExt: in computeAddress()
3038 case CCValAssign::SExt: { in processCallArgs()
4669 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local
4670 if (!isIntExtFree(SExt)) { in selectMul()
4672 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul()
4675 Src0 = SExt->getOperand(0); in selectMul()
4733 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local
4734 if (!isIntExtFree(SExt)) { in selectShift()
4736 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift()
4739 Op0 = SExt->getOperand(0); in selectShift()
[all …]

123456