Home
last modified time | relevance | path

Searched refs:ZExt (Results 1 – 25 of 157) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupSetCC.cpp88 MachineInstr *ZExt = nullptr; in runOnMachineFunction() local
92 ZExt = &Use; in runOnMachineFunction()
94 if (!ZExt) in runOnMachineFunction()
111 if (!MRI->constrainRegClass(ZExt->getOperand(0).getReg(), RC)) { in runOnMachineFunction()
126 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction()
134 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction()
135 TII->get(X86::INSERT_SUBREG), ZExt->getOperand(0).getReg()) in runOnMachineFunction()
139 ToErase.push_back(ZExt); in runOnMachineFunction()
H A DX86PartialReduction.cpp83 Cast->getOpcode() == Instruction::ZExt) && in matchVPDPBUSDPattern()
150 Cast->getOpcode() == Instruction::ZExt) && in tryMAddReplacement()
245 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement() local
246 if (cast<VectorType>(ZExt->getOperand(0)->getType()) in trySADReplacement()
249 return ZExt->getOperand(0); in trySADReplacement()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp179 uint64_t ZExt = KnownSize->getZExtValue(); in getLDSKernelIdMetadata() local
180 if (ZExt <= UINT32_MAX) { in getLDSKernelIdMetadata()
181 return ZExt; in getLDSKernelIdMetadata()
198 std::optional<uint64_t> ZExt = V->tryZExtValue(); in getLDSAbsoluteAddress() local
199 if (ZExt && (*ZExt <= UINT32_MAX)) { in getLDSAbsoluteAddress()
200 return *ZExt; in getLDSAbsoluteAddress()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp240 return Call->hasRetAttr(Attribute::AttrKind::ZExt); in isSource()
264 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() local
265 return GreaterThanTypeSize(ZExt); in isSink()
446 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local
447 if (auto *I = dyn_cast<Instruction>(ZExt)) { in ExtendSources()
455 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources()
578 if (auto ZExt = dyn_cast<ZExtInst>(I)) in TruncateSinks() local
579 if (ZExt->getType()->getScalarSizeInBits() >= PromotedWidth) in TruncateSinks()
601 auto ZExt = cast<ZExtInst>(V); in Cleanup() local
602 if (ZExt->getDestTy() != ExtTy) in Cleanup()
[all …]
H A DAnalysis.cpp607 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
608 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall()
612 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
613 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
635 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp177 ZExtInst *ZExt; member
182 ZExt(nullptr), SExt(nullptr) {} in MinMaxSinkInfo()
193 if (auto *ZExt = dyn_cast<ZExtInst>(V)) { in sinkMinMaxInBB() local
194 V = ZExt->getOperand(0); in sinkMinMaxInBB()
195 Info.ZExt = ZExt; in sinkMinMaxInBB()
234 if (Info.ZExt) { in sinkMinMaxInBB()
235 if (Info.ZExt->getType() == V->getType()) in sinkMinMaxInBB()
237 return Builder.CreateZExt(V, Info.ZExt->getType()); in sinkMinMaxInBB()
304 Instruction *ToRemove[] = {ICmp, Info.ZExt, Info.SExt, MinMax}; in sinkMinMaxInBB()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp147 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef() local
148 V = ZExt->getOperand(0); in handlePhiDef()
149 Operations.push_back(ZExt); in handlePhiDef()
179 case Instruction::ZExt: in handlePhiDef()
H A DCorrelatedValuePropagation.cpp1118 auto *ZExt = CastInst::CreateZExtOrBitCast(Base, SDI->getType(), "", in processSExt() local
1120 ZExt->takeName(SDI); in processSExt()
1121 ZExt->setDebugLoc(SDI->getDebugLoc()); in processSExt()
1122 ZExt->setNonNeg(); in processSExt()
1123 SDI->replaceAllUsesWith(ZExt); in processSExt()
1144 static bool processZExt(ZExtInst *ZExt, LazyValueInfo *LVI) { in processZExt() argument
1145 return processPossibleNonNeg(cast<PossiblyNonNegInst>(ZExt), LVI); in processZExt()
1300 case Instruction::ZExt: in runImpl()
H A DNaryReassociate.cpp366 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
368 if (isKnownNonNegative(ZExt->getOperand(0), SQ)) in tryReassociateGEPAtIndex()
369 IndexToSplit = ZExt->getOperand(0); in tryReassociateGEPAtIndex()
H A DSpeculativeExecution.cpp227 case Instruction::ZExt: in ComputeSpeculationCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def637 __OMP_ATTRS_SET(ZExt, AttributeSet(EnumAttr(ZExt)))
641 ? AttributeSet(EnumAttr(ZExt))
680 ZExt, ZExt, ZExt, ZExt))
686 ZExt, ZExt))
692 ZExt, ZExt, ZExt))
699 __OMP_RTL_ATTRS(__kmpc_get_hardware_thread_id_in_block, GetterAttrs, ZExt,
717 __OMP_RTL_ATTRS(__kmpc_get_hardware_num_blocks, GetterAttrs, ZExt, ParamAttrs())
718 __OMP_RTL_ATTRS(__kmpc_get_hardware_num_threads_in_block, GetterAttrs, ZExt, ParamAttrs())
719 __OMP_RTL_ATTRS(__kmpc_get_warp_size, GetterAttrs, ZExt, ParamAttrs())
772 ParamAttrs(ReadOnlyPtrAttrs, SExt, AttributeSet(), ZExt))
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1063 CI->addParamAttr(0, Attribute::ZExt); in addConditionalCallbacksIfEnabled()
1101 CB->addParamAttr(0, Attribute::ZExt); in addReachesFunctionCallbacksIfEnabled()
1338 AL = AL.addRetAttribute(C, Attribute::ZExt); in initializeRuntimeFunctions()
1347 AL = AL.addRetAttribute(C, Attribute::ZExt); in initializeRuntimeFunctions()
1357 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1358 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions()
1368 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1369 AL = AL.addRetAttribute(M.getContext(), Attribute::ZExt); in initializeRuntimeFunctions()
1375 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1376 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h61 enum { SExt, ZExt }; enumerator
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp52 case Instruction::ZExt: in getRelevantOperands()
128 case Instruction::ZExt: in buildTruncExpressionGraph()
394 case Instruction::ZExt: in ReduceExpressionGraph()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp290 case Instruction::ZExt: in getIntImmCostInst()
885 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP) in getBoolVecToIntConversionCost()
922 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) { in getCastInstrCost()
938 if (Opcode == Instruction::ZExt) in getCastInstrCost()
949 if (Opcode == Instruction::ZExt && I != nullptr) in getCastInstrCost()
990 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
993 if (Opcode == Instruction::ZExt) in getCastInstrCost()
H A DSystemZCallingConv.h151 LocInfo = CCValAssign::ZExt; in CC_XPLINK64_Pointer()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp865 else if (Call->paramHasAttr(I, Attribute::ZExt)) in selectCall()
1009 const auto *ZExt = cast<ZExtInst>(I); in selectZExt() local
1011 const Value *Op = ZExt->getOperand(0); in selectZExt()
1013 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt()
1021 updateValueMap(ZExt, Reg); in selectZExt()
1391 else if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::ZExt)) in selectRet()
1421 case Instruction::ZExt: in fastSelectInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp300 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB()
302 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h115 RetZExt = Call.hasRetAttr(Attribute::ZExt); in setCallee()
139 RetZExt = Call.hasRetAttr(Attribute::ZExt);
H A DCallingConvLower.h39 ZExt, // The value is zero extended in the location. enumerator
137 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h502 return Signed ? Attribute::SExt : Attribute::ZExt;
532 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h405 inline AllUnaryRecipe_match<Op0_t, Instruction::ZExt> m_ZExt(const Op0_t &Op0) { in m_ZExt()
406 return m_Unary<Instruction::ZExt, Op0_t>(Op0); in m_ZExt()
415 inline match_combine_or<AllUnaryRecipe_match<Op0_t, Instruction::ZExt>,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp198 case Instruction::ZExt: in visitImpl()
246 case Instruction::ZExt: { in visitImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def116 OP(ZExt) \
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h345 void setZeroExt(bool ZExt) { in setZeroExt() argument
347 ZeroExt = ZExt; in setZeroExt()

1234567