Home
last modified time | relevance | path

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

12345

/freebsd-13.1/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.cpp106 Cast->getOpcode() == Instruction::ZExt) && in tryMAddReplacement()
197 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement() local
198 if (cast<VectorType>(ZExt->getOperand(0)->getType()) in trySADReplacement()
201 return ZExt->getOperand(0); in trySADReplacement()
/freebsd-13.1/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()
487 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local
488 if (auto *I = dyn_cast<Instruction>(ZExt)) { in ExtendSources()
496 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources()
618 auto ZExt = cast<ZExtInst>(V); in Cleanup() local
619 if (ZExt->getDestTy() != ExtTy) in Cleanup()
622 Value *Src = ZExt->getOperand(0); in Cleanup()
623 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup()
626 ReplaceAllUsersOfWith(ZExt, Src); in Cleanup()
[all …]
H A DAnalysis.cpp571 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
572 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall()
576 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
577 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
599 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp317 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initialize()
325 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initialize()
326 AL = AL.addParamAttribute(M.getContext(), 2, Attribute::ZExt); in initialize()
354 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initialize()
355 AL = AL.addParamAttribute(M.getContext(), 2, Attribute::ZExt); in initialize()
365 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initialize()
366 AL = AL.addParamAttribute(M.getContext(), 2, Attribute::ZExt); in initialize()
367 AL = AL.addParamAttribute(M.getContext(), 3, Attribute::ZExt); in initialize()
368 AL = AL.addParamAttribute(M.getContext(), 4, Attribute::ZExt); in initialize()
380 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initialize()
[all …]
H A DDataFlowSanitizer.cpp1246 Attribute::ZExt); in initializeRuntimeFunctions()
1257 Attribute::ZExt); in initializeRuntimeFunctions()
1265 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1266 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions()
1276 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1278 Attribute::ZExt); in initializeRuntimeFunctions()
1284 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1285 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions()
1287 Attribute::ZExt); in initializeRuntimeFunctions()
3008 CustomCI->addParamAttr(ArgNo, Attribute::ZExt); in visitWrappedCallBase()
[all …]
H A DSanitizerCoverage.cpp430 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 0, Attribute::ZExt); in instrumentModule()
432 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 1, Attribute::ZExt); in instrumentModule()
457 AL = AL.addParamAttribute(*C, 0, Attribute::ZExt); in instrumentModule()
812 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp139 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef() local
140 V = ZExt->getOperand(0); in handlePhiDef()
141 Operations.push_back(ZExt); in handlePhiDef()
171 case Instruction::ZExt: in handlePhiDef()
H A DSCCP.cpp173 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst); in simplifyInstsInBlock() local
174 InsertedValues.insert(ZExt); in simplifyInstsInBlock()
175 Inst.replaceAllUsesWith(ZExt); in simplifyInstsInBlock()
H A DNaryReassociate.cpp361 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
363 if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT)) in tryReassociateGEPAtIndex()
364 IndexToSplit = ZExt->getOperand(0); in tryReassociateGEPAtIndex()
H A DSpeculativeExecution.cpp227 case Instruction::ZExt: in ComputeSpeculationCost()
H A DCorrelatedValuePropagation.cpp921 auto *ZExt = in processSExt() local
923 ZExt->setDebugLoc(SDI->getDebugLoc()); in processSExt()
924 SDI->replaceAllUsesWith(ZExt); in processSExt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp53 case Instruction::ZExt: in getRelevantOperands()
117 case Instruction::ZExt: in buildTruncExpressionDag()
323 case Instruction::ZExt: in ReduceExpressionDag()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp843 else if (Attrs.hasParamAttribute(I, Attribute::ZExt)) in selectCall()
992 const auto *ZExt = cast<ZExtInst>(I); in selectZExt() local
994 const Value *Op = ZExt->getOperand(0); in selectZExt()
996 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt()
1004 updateValueMap(ZExt, Reg); in selectZExt()
1373 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt)) in selectRet()
1403 case Instruction::ZExt: in fastSelectInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h384 return Signed ? Attribute::SExt : Attribute::ZExt;
395 return Signed ? Attribute::SExt : Attribute::ZExt;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp170 case Instruction::ZExt: in getIntImmCostInst()
714 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP) in getBoolVecToIntConversionCost()
744 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost()
754 if (Opcode == Instruction::ZExt) in getCastInstrCost()
781 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h38 ZExt, // The value is zero extended in the location. enumerator
157 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
H A DFastISel.h114 RetZExt = Call.hasRetAttr(Attribute::ZExt); in setCallee()
138 RetZExt = Call.hasRetAttr(Attribute::ZExt);
H A DBasicTTIImpl.h918 case Instruction::ZExt:
932 ((Opcode == Instruction::ZExt) ? ISD::ZEXTLOAD : ISD::SEXTLOAD);
970 if (Opcode == Instruction::ZExt)
1761 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
1830 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost()
2179 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedAddReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp303 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB()
305 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp316 case Instruction::ZExt: { in ExtractConstantBytes()
361 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction()
488 case Instruction::ZExt: in ConstantFoldCastInstruction()
1037 if (CE1->getOpcode() == Instruction::ZExt) { in ConstantFoldBinaryInstruction()
1113 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero. in ConstantFoldBinaryInstruction()
1563 case Instruction::ZExt: in evaluateICmpRelation()
1572 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation()
2036 (CE1->getOpcode() == Instruction::ZExt && in ConstantFoldCompareInstruction()
H A DInstructions.cpp2666 case Instruction::ZExt: in isIntegerCast()
2709 case Instruction::ZExt: in isNoopCast()
2890 return Instruction::ZExt; in isEliminableCastPair()
3015 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast()
3023 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
3142 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3156 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
3281 return ZExt; // unsigned -> ZEXT in getCastOpcode()
3377 case Instruction::ZExt: in castIsValid()
3464 ) : CastInst(Ty, ZExt, S, Name, InsertBefore) { in ZExtInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp285 if (Inst->getOpcode() == Instruction::ZExt || in avoidSpeculation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.cpp178 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt; in CC_AArch64_Custom_Block()

12345