Home
last modified time | relevance | path

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

123456

/openbsd/src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
DOMPKinds.def604 __OMP_ATTRS_SET(SExt, AttributeSet(EnumAttr(SExt)))
629 ParamAttrs(ReadOnlyPtrAttrs, SExt))
631 ParamAttrs(ReadOnlyPtrAttrs, SExt))
633 ParamAttrs(ReadOnlyPtrAttrs, SExt))
637 __OMP_RTL_ATTRS(__kmpc_cancel, InaccessibleArgOnlyAttrs, SExt,
638 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt))
639 __OMP_RTL_ATTRS(__kmpc_cancel_barrier, BarrierAttrs, SExt,
640 ParamAttrs(ReadOnlyPtrAttrs, SExt))
642 ParamAttrs(AttributeSet(), SExt))
645 __OMP_RTL_ATTRS(__kmpc_global_thread_num, GetterAttrs, SExt,
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
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()
DRISCVSExtWRemoval.cpp178 if ((BitWidth <= 32 && Attrs.hasAttribute(Attribute::SExt)) || in isSignExtendedW()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
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()
DSpeculativeExecution.cpp228 case Instruction::SExt: in ComputeSpeculationCost()
DNaryReassociate.cpp363 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
364 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
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()
DMVELaneInterleavingPass.cpp186 case Instruction::SExt: in tryInterleave()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
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/src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/
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/src/gnu/llvm/llvm/lib/CodeGen/
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()
DInterleavedLoadCombinePass.cpp169 SExt, enumerator
504 pushBOperation(SExt, APInt(sizeof(n) * 8, n)); in sextOrTrunc()
592 case SExt: in print()
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
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/src/gnu/llvm/llvm/include/llvm/CodeGen/
DFastISel.h114 RetSExt = Call.hasRetAttr(Attribute::SExt); in setCallee()
138 RetSExt = Call.hasRetAttr(Attribute::SExt);
DCallingConvLower.h35 SExt, // The value is sign extended in the location. enumerator
134 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
DBasicTTIImpl.h1034 case Instruction::SExt:
1086 if (Opcode == Instruction::SExt)
1973 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2039 unsigned ExtOp = IsSigned ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2418 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedReductionCost()
2434 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getMulAccReductionCost()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86PartialReduction.cpp84 (Cast->getOpcode() == Instruction::SExt || in matchVPDPBUSDPattern()
151 (Cast->getOpcode() == Instruction::SExt || in tryMAddReplacement()
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
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/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineNegator.cpp206 case Instruction::SExt: in visitImpl()
210 return I->getOpcode() == Instruction::SExt in visitImpl()
/openbsd/src/gnu/llvm/clang/include/clang/CodeGen/
DCGFunctionInfo.h332 void setSignExt(bool SExt) { in setSignExt() argument
334 SignExt = SExt; in setSignExt()
/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/
DBPFAdjustOpt.cpp352 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstructions.cpp3053 case Instruction::SExt: in isIntegerCast()
3096 case Instruction::SExt: in isNoopCast()
3361 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create()
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()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
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