Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp54 case Instruction::SExt: in getRelevantOperands()
118 case Instruction::SExt: in buildTruncExpressionDag()
324 case Instruction::SExt: { in ReduceExpressionDag()
337 Opc == Instruction::SExt); in ReduceExpressionDag()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp145 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local
146 V = SExt->getOperand(0); in handlePhiDef()
147 Operations.push_back(SExt); in handlePhiDef()
174 case Instruction::SExt: in handlePhiDef()
H A DSpeculativeExecution.cpp228 case Instruction::SExt: in ComputeSpeculationCost()
H A DNaryReassociate.cpp359 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
360 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
/freebsd-13.1/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()
328 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local
329 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
332 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence()
469 case Instruction::SExt: in Search()
H A DMVELaneInterleavingPass.cpp186 case Instruction::SExt: in tryInterleave()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h384 return Signed ? Attribute::SExt : Attribute::ZExt;
386 return Attribute::SExt;
395 return Signed ? Attribute::SExt : Attribute::ZExt;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp578 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
579 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
583 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
584 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
598 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
H A DInterleavedLoadCombinePass.cpp171 SExt, enumerator
506 pushBOperation(SExt, APInt(sizeof(n) * 8, n)); in sextOrTrunc()
594 case SExt: in print()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
H A DHexagonBitTracker.cpp82 if (Arg.hasAttribute(Attribute::SExt)) in HexagonEvaluator()
83 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::SExt, Width))); in HexagonEvaluator()
1236 if (F->second.Type == ExtType::SExt) in evaluateFormalCopy()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp841 if (Attrs.hasParamAttribute(I, Attribute::SExt)) in selectCall()
1009 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
1011 const Value *Op = SExt->getOperand(0); in selectSExt()
1013 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
1021 updateValueMap(SExt, Reg); in selectSExt()
1371 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet()
1405 case Instruction::SExt: in fastSelectInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h37 SExt, // The value is sign extended in the location. enumerator
157 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
H A DFastISel.h113 RetSExt = Call.hasRetAttr(Attribute::SExt); in setCallee()
137 RetSExt = Call.hasRetAttr(Attribute::SExt);
H A DBasicTTIImpl.h922 case Instruction::SExt:
974 if (Opcode == Instruction::SExt)
1761 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
1830 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2179 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedAddReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp171 case Instruction::SExt: in getIntImmCostInst()
744 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost()
752 if (Opcode == Instruction::SExt) in getCastInstrCost()
781 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp208 case Instruction::SExt: in visitImpl()
212 return I->getOpcode() == Instruction::SExt in visitImpl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h332 void setSignExt(bool SExt) { in setSignExt() argument
334 SignExt = SExt; in setSignExt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp286 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2667 case Instruction::SExt: in isIntegerCast()
2710 case Instruction::SExt: in isNoopCast()
2995 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
3031 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast()
3039 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3142 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3156 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3279 return SExt; // signed -> SEXT in getCastOpcode()
3380 case Instruction::SExt: in castIsValid()
3475 ) : CastInst(Ty, SExt, S, Name, InsertBefore) { in SExtInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp859 case Instruction::SExt: in computeAddress()
3020 case CCValAssign::SExt: { in processCallArgs()
4594 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local
4595 if (!isIntExtFree(SExt)) { in selectMul()
4597 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul()
4600 Src0 = SExt->getOperand(0); in selectMul()
4658 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local
4659 if (!isIntExtFree(SExt)) { in selectShift()
4661 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift()
4664 Op0 = SExt->getOperand(0); in selectShift()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp357 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp37 if (AttrFn(Attribute::SExt)) in addFlagsUsingAttrFn()
1096 case CCValAssign::SExt: { in extendRegister()
1122 case CCValAssign::LocInfo::SExt: { in buildExtensionHint()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.def186 HANDLE_CAST_INST(40, SExt , SExtInst ) // Sign extend integers

12345