Searched refs:SExt (Results 1 - 25 of 128) sorted by relevance

123456

/freebsd-current/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp178 SExtInst *SExt; member in struct:MinMaxSinkInfo
182 ZExt(nullptr), SExt(nullptr) {}
196 } else if (auto *SExt = dyn_cast<SExtInst>(V)) {
197 V = SExt->getOperand(0);
198 Info.SExt = SExt;
229 if (Info.SExt) {
230 if (Info.SExt->getType() == V->getType())
232 return Builder.CreateSExt(V, Info.SExt->getType());
304 Instruction *ToRemove[] = {ICmp, Info.ZExt, Info.SExt, MinMa
[all...]
H A DBPFAdjustOpt.cpp335 Inst->getOpcode() == Instruction::SExt) {
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator in enum:llvm::HexagonEvaluator::ExtType::__anon4136
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) {
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp153 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) {
154 V = SExt->getOperand(0);
155 Operations.push_back(SExt);
182 case Instruction::SExt:
H A DSpeculativeExecution.cpp228 case Instruction::SExt:
H A DNaryReassociate.cpp364 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) {
365 IndexToSplit = SExt->getOperand(0);
/freebsd-current/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;
521 return Attribute::SExt;
/freebsd-current/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:
130 case Instruction::SExt:
396 case Instruction::SExt: {
409 Opc == Instruction::SExt);
515 // it, because {SExt, ZExt}Inst Instruction might have other users that was
521 "Only {SExt, ZExt}Inst might have unreduced users");
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp103 if (auto *SExt = dyn_cast<SExtInst>(V)) {
104 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0)))
323 if (auto *SExt = dyn_cast<SExtInst>(V)) {
324 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth)
327 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) {
467 case Instruction::SExt:
H A DMVELaneInterleavingPass.cpp186 case Instruction::SExt:
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp647 } else if (CallerAttrs.contains(Attribute::SExt)) {
648 if (!CalleeAttrs.contains(Attribute::SExt))
652 CallerAttrs.removeAttribute(Attribute::SExt);
653 CalleeAttrs.removeAttribute(Attribute::SExt);
667 CalleeAttrs.removeAttribute(Attribute::SExt);
H A DInterleavedLoadCombinePass.cpp170 SExt, enumerator in enum:__anon20::Polynomial::BOps
505 pushBOperation(SExt, APInt(sizeof(n) * 8, n));
593 case SExt:
594 OS << "SExt ";
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp84 (Cast->getOpcode() == Instruction::SExt ||
151 (Cast->getOpcode() == Instruction::SExt ||
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h37 SExt, // The value is sign extended in the location. enumerator in enum:llvm::CCValAssign::LocInfo
136 return (HTP == AExt || HTP == SExt || HTP == ZExt);
H A DFastISel.h114 RetSExt = Call.hasRetAttr(Attribute::SExt);
138 RetSExt = Call.hasRetAttr(Attribute::SExt);
H A DBasicTTIImpl.h1080 case Instruction::SExt:
1132 if (Opcode == Instruction::SExt)
2104 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
2170 unsigned ExtOp = IsSigned ? Instruction::SExt : Instruction::ZExt;
2534 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty,
2550 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty,
/freebsd-current/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp68 Attribute::SExt,
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp166 case Instruction::SExt:
/freebsd-current/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp842 if (Call->paramHasAttr(I, Attribute::SExt))
1010 const auto *SExt = cast<SExtInst>(I); local
1012 const Value *Op = SExt->getOperand(0);
1014 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType()));
1022 updateValueMap(SExt, Reg);
1372 if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::SExt))
1406 case Instruction::SExt:
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp199 if (opc == Instruction::ZExt || opc == Instruction::SExt ||
299 case Instruction::SExt:
1519 Idx0 = ConstantFoldCastInstruction(Instruction::SExt, Idx0, CommonTy);
1522 ConstantFoldCastInstruction(Instruction::SExt, LastIdx, CommonTy);
1710 ConstantFoldCastInstruction(Instruction::SExt, PrevIdx, ExtendedTy);
1713 Div = ConstantFoldCastInstruction(Instruction::SExt, Div, ExtendedTy);
/freebsd-current/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h332 void setSignExt(bool SExt) { argument
334 SignExt = SExt;
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp201 case Instruction::SExt:
205 return I->getOpcode() == Instruction::SExt
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp327 RetAttrs.addAttribute(Attribute::SExt);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp208 case Instruction::SExt:
722 // cost for a Select / ZExt or SExt instruction.
796 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) {
807 if (Opcode == Instruction::SExt)
861 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) {
867 // SExt will be handled with one unpack per doubling of width.

Completed in 178 milliseconds

123456