/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 | 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/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineFunction.cpp | 172 uint64_t ZExt = KnownSize->getZExtValue(); in getLDSKernelIdMetadata() local 173 if (ZExt <= UINT32_MAX) { in getLDSKernelIdMetadata() 174 return ZExt; in getLDSKernelIdMetadata() 191 std::optional<uint64_t> ZExt = V->tryZExtValue(); in getLDSAbsoluteAddress() local 192 if (ZExt && (*ZExt <= UINT32_MAX)) { in getLDSAbsoluteAddress() 193 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 | 606 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall() 607 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall() 611 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall() 612 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall() 634 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFCheckAndAdjustIR.cpp | 180 ZExtInst *ZExt; member 185 ZExt(nullptr), SExt(nullptr) {} in MinMaxSinkInfo() 196 if (auto *ZExt = dyn_cast<ZExtInst>(V)) { in sinkMinMaxInBB() local 197 V = ZExt->getOperand(0); in sinkMinMaxInBB() 198 Info.ZExt = ZExt; in sinkMinMaxInBB() 237 if (Info.ZExt) { in sinkMinMaxInBB() 238 if (Info.ZExt->getType() == V->getType()) in sinkMinMaxInBB() 240 return Builder.CreateZExt(V, Info.ZExt->getType()); in sinkMinMaxInBB() 307 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 | 1098 auto *ZExt = CastInst::CreateZExtOrBitCast(Base, SDI->getType(), "", in processSExt() local 1100 ZExt->takeName(SDI); in processSExt() 1101 ZExt->setDebugLoc(SDI->getDebugLoc()); in processSExt() 1102 ZExt->setNonNeg(); in processSExt() 1103 SDI->replaceAllUsesWith(ZExt); in processSExt() 1124 static bool processZExt(ZExtInst *ZExt, LazyValueInfo *LVI) { in processZExt() argument 1125 return processPossibleNonNeg(cast<PossiblyNonNegInst>(ZExt), LVI); in processZExt() 1247 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 | 630 __OMP_ATTRS_SET(ZExt, AttributeSet(EnumAttr(ZExt))) 634 ? AttributeSet(EnumAttr(ZExt)) 673 ZExt, ZExt, ZExt, ZExt)) 679 ZExt, ZExt)) 685 ZExt, ZExt, ZExt)) 692 __OMP_RTL_ATTRS(__kmpc_get_hardware_thread_id_in_block, GetterAttrs, ZExt, 710 __OMP_RTL_ATTRS(__kmpc_get_hardware_num_blocks, GetterAttrs, ZExt, ParamAttrs()) 711 __OMP_RTL_ATTRS(__kmpc_get_hardware_num_threads_in_block, GetterAttrs, ZExt, ParamAttrs()) 712 __OMP_RTL_ATTRS(__kmpc_get_warp_size, GetterAttrs, ZExt, ParamAttrs()) 765 ParamAttrs(ReadOnlyPtrAttrs, SExt, AttributeSet(), ZExt)) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 1064 CI->addParamAttr(0, Attribute::ZExt); in addConditionalCallbacksIfEnabled() 1103 CB->addParamAttr(0, Attribute::ZExt); in addReachesFunctionCallbacksIfEnabled() 1341 AL = AL.addRetAttribute(C, Attribute::ZExt); in initializeRuntimeFunctions() 1350 AL = AL.addRetAttribute(C, Attribute::ZExt); in initializeRuntimeFunctions() 1360 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions() 1361 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions() 1371 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions() 1372 AL = AL.addRetAttribute(M.getContext(), Attribute::ZExt); in initializeRuntimeFunctions() 1378 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions() 1379 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanPatternMatch.h | 248 inline AllUnaryRecipe_match<Op0_t, Instruction::ZExt> m_ZExt(const Op0_t &Op0) { 249 return m_Unary<Instruction::ZExt, Op0_t>(Op0); 258 inline match_combine_or<AllUnaryRecipe_match<Op0_t, Instruction::ZExt>,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 211 case Instruction::ZExt: in getIntImmCostInst() 762 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP) in getBoolVecToIntConversionCost() 798 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt)) { in getCastInstrCost() 811 if (Opcode == Instruction::ZExt) in getCastInstrCost() 822 if (Opcode == Instruction::ZExt && I != nullptr) in getCastInstrCost() 863 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost() 866 if (Opcode == Instruction::ZExt) in getCastInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonBitTracker.h | 62 enum { SExt, ZExt }; enumerator
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 17 // The only exception is for {ZExt, SExt}Inst with operand type equal to 52 case Instruction::ZExt: in getRelevantOperands() 129 case Instruction::ZExt: in buildTruncExpressionGraph() 395 case Instruction::ZExt: in ReduceExpressionGraph() 515 // it, because {SExt, ZExt}Inst Instruction might have other users that was in ReduceExpressionGraph() 521 "Only {SExt, ZExt}Inst might have unreduced users"); in ReduceExpressionGraph()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFastISel.cpp | 859 else if (Call->paramHasAttr(I, Attribute::ZExt)) in selectCall() 1000 const auto *ZExt = cast<ZExtInst>(I); in selectZExt() local 1002 const Value *Op = ZExt->getOperand(0); in selectZExt() 1004 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt() 1012 updateValueMap(ZExt, Reg); in selectZExt() 1382 else if (FuncInfo.Fn->getAttributes().hasRetAttr(Attribute::ZExt)) in selectRet() 1412 case Instruction::ZExt: in fastSelectInstruction()
|
/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.h | 486 return Signed ? Attribute::SExt : Attribute::ZExt; 516 return Signed ? Attribute::SExt : Attribute::ZExt; in getExtAttrForI32Return()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineNegator.cpp | 202 case Instruction::ZExt: in visitImpl() 250 case Instruction::ZExt: { in visitImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILPrepare.cpp | 84 Attribute::ZExt}, in isValidForDXIL()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Operator.cpp | 49 case Instruction::ZExt: in hasPoisonGeneratingFlags()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64CallingConvention.cpp | 195 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt; in CC_AArch64_Custom_Block()
|