| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupSetCC.cpp | 88 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 D | X86PartialReduction.cpp | 83 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 D | AMDGPUMachineFunction.cpp | 179 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 D | TypePromotion.cpp | 240 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 D | Analysis.cpp | 607 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 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/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 | 1118 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 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/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPKinds.def | 637 __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 D | DataFlowSanitizer.cpp | 1063 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 D | HexagonBitTracker.h | 61 enum { SExt, ZExt }; enumerator
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 52 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 D | SystemZTargetTransformInfo.cpp | 290 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 D | SystemZCallingConv.h | 151 LocInfo = CCValAssign::ZExt; in CC_XPLINK64_Pointer()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 865 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 D | BypassSlowDivision.cpp | 300 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 D | FastISel.h | 115 RetZExt = Call.hasRetAttr(Attribute::ZExt); in setCallee() 139 RetZExt = Call.hasRetAttr(Attribute::ZExt);
|
| H A D | CallingConvLower.h | 39 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 D | TargetLibraryInfo.h | 502 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 D | VPlanPatternMatch.h | 405 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 D | InstCombineNegator.cpp | 198 case Instruction::ZExt: in visitImpl() 246 case Instruction::ZExt: { in visitImpl()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Values.def | 116 OP(ZExt) \
|
| /freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 345 void setZeroExt(bool ZExt) { in setZeroExt() argument 347 ZeroExt = ZExt; in setZeroExt()
|