Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/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 DNaryReassociate.cpp359 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
360 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
H A DSpeculativeExecution.cpp228 case Instruction::SExt: in ComputeSpeculationCost()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
336 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local
337 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
340 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence()
477 case Instruction::SExt: in Search()
H A DMVELaneInterleavingPass.cpp186 case Instruction::SExt: in tryInterleave()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h373 return Signed ? Attribute::SExt : Attribute::ZExt;
375 return Attribute::SExt;
384 return Signed ? Attribute::SExt : Attribute::ZExt;
/netbsd-src/external/apache2/llvm/dist/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.cpp170 SExt, enumerator
505 pushBOperation(SExt, APInt(sizeof(n) * 8, n)); in sextOrTrunc()
593 case SExt: in print()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp841 if (Attrs.hasParamAttribute(I, Attribute::SExt)) in selectCall()
1008 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
1010 const Value *Op = SExt->getOperand(0); in selectSExt()
1012 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
1020 updateValueMap(SExt, Reg); in selectSExt()
1370 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet()
1404 case Instruction::SExt: in fastSelectInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DReplaceConstant.cpp53 case Instruction::SExt: in createReplacementInstr()
H A DInstructions.cpp2653 case Instruction::SExt: in isIntegerCast()
2696 case Instruction::SExt: in isNoopCast()
2953 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create()
2975 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
3011 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast()
3019 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3122 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3136 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3259 return SExt; // signed -> SEXT in getCastOpcode()
3360 case Instruction::SExt: in castIsValid()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp156 case CCValAssign::LocInfo::SExt: in assignValueToReg()
193 if (VA.getLocInfo() == CCValAssign::SExt || in assignValueToAddress()
295 case CCValAssign::SExt: { in extendRegister()
354 return CCValAssign::LocInfo::SExt; in determineLocInfo()
/netbsd-src/external/apache2/llvm/dist/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.h895 case Instruction::SExt:
947 if (Opcode == Instruction::SExt)
1734 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
1803 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2142 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedAddReductionCost()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp208 case Instruction::SExt: in visitImpl()
212 return I->getOpcode() == Instruction::SExt in visitImpl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h332 void setSignExt(bool SExt) { in setSignExt() argument
334 SignExt = SExt; in setSignExt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp286 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp859 case Instruction::SExt: in computeAddress()
3020 case CCValAssign::SExt: { in processCallArgs()
4589 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local
4590 if (!isIntExtFree(SExt)) { in selectMul()
4592 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul()
4595 Src0 = SExt->getOperand(0); in selectMul()
4653 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local
4654 if (!isIntExtFree(SExt)) { in selectShift()
4656 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift()
4659 Op0 = SExt->getOperand(0); in selectShift()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp37 if (AttrFn(Attribute::SExt)) in addFlagsUsingAttrFn()
1078 case CCValAssign::SExt: { in extendRegister()
1104 case CCValAssign::LocInfo::SExt: { in buildExtensionHint()

12345