| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupSetCC.cpp | 81 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 D | X86PartialReduction.cpp | 85 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 D | AMDGPUMachineFunction.cpp | 173 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 D | BPFCheckAndAdjustIR.cpp | 177 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 D | TypePromotion.cpp | 263 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 D | Analysis.cpp | 640 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 D | LowerExpectIntrinsic.cpp | 147 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 D | CorrelatedValuePropagation.cpp | 1045 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 D | NaryReassociate.cpp | 366 } 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 D | SpeculativeExecution.cpp | 227 case Instruction::ZExt: in ComputeSpeculationCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPKinds.def | 627 __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 D | DataFlowSanitizer.cpp | 1060 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 D | SystemZTargetTransformInfo.cpp | 207 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 D | HexagonBitTracker.h | 62 enum { SExt, ZExt }; enumerator
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 52 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 D | WebAssemblyFastISel.cpp | 844 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 D | CallingConvLower.h | 38 ZExt, // The value is zero extended in the location. enumerator 136 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
| H A D | FastISel.h | 115 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 D | BypassSlowDivision.cpp | 301 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 D | TargetLibraryInfo.h | 489 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 D | DXILPrepare.cpp | 79 Attribute::ZExt}, in isValidForDXIL()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 202 case Instruction::ZExt: in visitImpl() 245 case Instruction::ZExt: { in visitImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64CallingConvention.cpp | 178 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt; in CC_AArch64_Custom_Block()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 42 case Instruction::ZExt: in hasPoisonGeneratingFlags()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanAnalysis.cpp | 167 case Instruction::ZExt: in inferScalarTypeForRecipe()
|