Home
last modified time | relevance | path

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

123456

/openbsd/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def705 ParamAttrs(SExt, SExt))
784 SExt, SExt, SExt))
796 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, SExt, SExt, SExt, SExt))
798 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, ZExt, ZExt, SExt, SExt))
882 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, SExt))
884 ParamAttrs(SExt, SExt))
890 ParamAttrs(SExt, SExt))
906 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, SExt))
977 SExt, SExt, SExt, AttributeSet(), SExt))
1019 ParamAttrs(AttributeSet(), SExt, SExt, SExt, SExt,
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp77 auto *SExt = new SExtInst(Src, ZExt.getType(), "", &ZExt); in visitZExtInst() local
78 SExt->takeName(&ZExt); in visitZExtInst()
79 SExt->setDebugLoc(ZExt.getDebugLoc()); in visitZExtInst()
81 ZExt.replaceAllUsesWith(SExt); in visitZExtInst()
91 auto *SExt = new SExtInst(Src, ZExt.getType(), "", &ZExt); in visitZExtInst() local
92 SExt->takeName(&ZExt); in visitZExtInst()
93 SExt->setDebugLoc(ZExt.getDebugLoc()); in visitZExtInst()
95 ZExt.replaceAllUsesWith(SExt); in visitZExtInst()
H A DRISCVSExtWRemoval.cpp178 if ((BitWidth <= 32 && Attrs.hasAttribute(Attribute::SExt)) || in isSignExtendedW()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp159 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local
160 V = SExt->getOperand(0); in handlePhiDef()
161 Operations.push_back(SExt); in handlePhiDef()
188 case Instruction::SExt: in handlePhiDef()
H A DSpeculativeExecution.cpp228 case Instruction::SExt: in ComputeSpeculationCost()
H A DNaryReassociate.cpp363 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
364 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
/openbsd/gnu/llvm/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()
472 case Instruction::SExt: in Search()
H A DMVELaneInterleavingPass.cpp186 case Instruction::SExt: in tryInterleave()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h431 return Signed ? Attribute::SExt : Attribute::ZExt;
433 return Attribute::SExt;
461 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
463 return Attribute::SExt; in getExtAttrForI32Return()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DAnalysis.cpp598 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
599 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
603 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
604 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
618 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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp842 if (Attrs.hasParamAttr(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()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h35 SExt, // The value is sign extended in the location. enumerator
134 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);
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp84 (Cast->getOpcode() == Instruction::SExt || in matchVPDPBUSDPattern()
151 (Cast->getOpcode() == Instruction::SExt || in tryMAddReplacement()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp67 Attribute::SExt, in isValidForDXIL()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp207 case Instruction::SExt: in getIntImmCostInst()
783 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost()
791 if (Opcode == Instruction::SExt) in getCastInstrCost()
820 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp206 case Instruction::SExt: in visitImpl()
210 return I->getOpcode() == Instruction::SExt in visitImpl()
/openbsd/gnu/llvm/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h332 void setSignExt(bool SExt) { in setSignExt() argument
334 SignExt = SExt; in setSignExt()
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp352 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DInstructions.cpp3053 case Instruction::SExt: in isIntegerCast()
3096 case Instruction::SExt: in isNoopCast()
3383 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
3419 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast()
3427 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3530 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3544 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3667 return SExt; // signed -> SEXT in getCastOpcode()
3768 case Instruction::SExt: in castIsValid()
3863 ) : CastInst(Ty, SExt, S, Name, InsertBefore) { in SExtInst()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp883 case Instruction::SExt: in computeAddress()
3044 case CCValAssign::SExt: { in processCallArgs()
4633 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local
4634 if (!isIntExtFree(SExt)) { in selectMul()
4636 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul()
4639 Src0 = SExt->getOperand(0); in selectMul()
4697 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local
4698 if (!isIntExtFree(SExt)) { in selectShift()
4700 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift()
4703 Op0 = SExt->getOperand(0); in selectShift()
[all …]

123456