Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupSetCC.cpp81 MachineInstr *ZExt = nullptr; in runOnMachineFunction() local
84 ZExt = &Use; in runOnMachineFunction()
86 if (!ZExt) in runOnMachineFunction()
104 if (!MRI->constrainRegClass(ZExt->getOperand(0).getReg(), RC)) { in runOnMachineFunction()
120 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction()
121 TII->get(X86::INSERT_SUBREG), ZExt->getOperand(0).getReg()) in runOnMachineFunction()
125 ToErase.push_back(ZExt); in runOnMachineFunction()
H A DX86PartialReduction.cpp85 Cast->getOpcode() == Instruction::ZExt) && in matchVPDPBUSDPattern()
152 Cast->getOpcode() == Instruction::ZExt) && in tryMAddReplacement()
248 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement() local
249 if (cast<VectorType>(ZExt->getOperand(0)->getType()) in trySADReplacement()
252 return ZExt->getOperand(0); in trySADReplacement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp173 uint64_t ZExt = KnownSize->getZExtValue(); in getLDSKernelIdMetadata() local
174 if (ZExt <= UINT32_MAX) { in getLDSKernelIdMetadata()
175 return ZExt; in getLDSKernelIdMetadata()
192 std::optional<uint64_t> ZExt = V->tryZExtValue(); in getLDSAbsoluteAddress() local
193 if (ZExt && (*ZExt <= UINT32_MAX)) { in getLDSAbsoluteAddress()
194 return *ZExt; in getLDSAbsoluteAddress()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp263 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() local
264 return GreaterThanTypeSize(ZExt); in isSink()
444 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local
453 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources()
570 if (auto ZExt = dyn_cast<ZExtInst>(I)) in TruncateSinks() local
593 auto ZExt = cast<ZExtInst>(V); in Cleanup() local
594 if (ZExt->getDestTy() != ExtTy) in Cleanup()
597 Value *Src = ZExt->getOperand(0); in Cleanup()
598 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup()
601 ReplaceAllUsersOfWith(ZExt, Src); in Cleanup()
[all …]
H A DAnalysis.cpp640 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
641 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall()
645 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
646 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
668 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
/freebsd-14.2/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.cpp1045 auto *ZExt = CastInst::CreateZExtOrBitCast(Base, SDI->getType(), "", SDI); in processSExt() local
1046 ZExt->takeName(SDI); in processSExt()
1047 ZExt->setDebugLoc(SDI->getDebugLoc()); in processSExt()
1048 ZExt->setNonNeg(); in processSExt()
1049 SDI->replaceAllUsesWith(ZExt); in processSExt()
1055 static bool processZExt(ZExtInst *ZExt, LazyValueInfo *LVI) { in processZExt() argument
1056 if (ZExt->getType()->isVectorTy()) in processZExt()
1059 if (ZExt->hasNonNeg()) in processZExt()
1062 const Use &Base = ZExt->getOperandUse(0); in processZExt()
1068 ZExt->setNonNeg(); in processZExt()
[all …]
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-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def627 __OMP_ATTRS_SET(ZExt, AttributeSet(EnumAttr(ZExt)))
631 ? AttributeSet(EnumAttr(ZExt))
670 ZExt, ZExt, ZExt, ZExt))
676 ZExt, ZExt))
682 ZExt, ZExt, ZExt))
689 __OMP_RTL_ATTRS(__kmpc_get_hardware_thread_id_in_block, GetterAttrs, ZExt,
709 __OMP_RTL_ATTRS(__kmpc_get_warp_size, GetterAttrs, ZExt, ParamAttrs())
762 ParamAttrs(ReadOnlyPtrAttrs, SExt, AttributeSet(), ZExt))
830 ZExt, SExt, SExt))
840 ParamAttrs(ReadOnlyPtrAttrs, SExt, SExt, ZExt, ZExt, SExt, SExt))
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1060 CI->addParamAttr(0, Attribute::ZExt); in addConditionalCallbacksIfEnabled()
1099 CB->addParamAttr(0, Attribute::ZExt); in addReachesFunctionCallbacksIfEnabled()
1337 AL = AL.addRetAttribute(C, Attribute::ZExt); in initializeRuntimeFunctions()
1346 AL = AL.addRetAttribute(C, Attribute::ZExt); in initializeRuntimeFunctions()
1368 AL = AL.addRetAttribute(M.getContext(), Attribute::ZExt); in initializeRuntimeFunctions()
2274 Call->addRetAttr(Attribute::ZExt); in loadShadowOriginSansLoadTracking()
2321 FallbackCall->addRetAttr(Attribute::ZExt); in loadShadowOriginSansLoadTracking()
2438 CI->addParamAttr(0, Attribute::ZExt); in visitLoadInst()
2696 CI->addParamAttr(0, Attribute::ZExt); in visitStoreInst()
2760 CallI->addParamAttr(0, Attribute::ZExt); in visitCmpInst()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp207 case Instruction::ZExt: in getIntImmCostInst()
760 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP) in getBoolVecToIntConversionCost()
796 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) { in getCastInstrCost()
809 if (Opcode == Instruction::ZExt) in getCastInstrCost()
820 if (Opcode == Instruction::ZExt && I != nullptr) in getCastInstrCost()
861 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
864 if (Opcode == Instruction::ZExt) in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp52 case Instruction::ZExt: in getRelevantOperands()
129 case Instruction::ZExt: in buildTruncExpressionGraph()
395 case Instruction::ZExt: in ReduceExpressionGraph()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp844 else if (Call->paramHasAttr(I, Attribute::ZExt)) in selectCall()
993 const auto *ZExt = cast<ZExtInst>(I); in selectZExt() local
995 const Value *Op = ZExt->getOperand(0); in selectZExt()
997 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt()
1005 updateValueMap(ZExt, Reg); in selectZExt()
1374 else if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::ZExt)) in selectRet()
1404 case Instruction::ZExt: in fastSelectInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h38 ZExt, // The value is zero extended in the location. enumerator
136 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
H A DFastISel.h115 RetZExt = Call.hasRetAttr(Attribute::ZExt); in setCallee()
139 RetZExt = Call.hasRetAttr(Attribute::ZExt);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp301 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB()
303 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h489 return Signed ? Attribute::SExt : Attribute::ZExt;
519 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp79 Attribute::ZExt}, in isValidForDXIL()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp202 case Instruction::ZExt: in visitImpl()
245 case Instruction::ZExt: { in visitImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.cpp178 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt; in CC_AArch64_Custom_Block()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp42 case Instruction::ZExt: in hasPoisonGeneratingFlags()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp167 case Instruction::ZExt: in inferScalarTypeForRecipe()

123456