Searched refs:ZExt (Results 1 - 25 of 116) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupSetCC.cpp81 MachineInstr *ZExt = nullptr; local
84 ZExt = &Use;
86 if (!ZExt)
116 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(),
121 MRI->replaceRegWith(ZExt->getOperand(0).getReg(), InsertReg);
122 ToErase.push_back(ZExt);
H A DX86PartialReduction.cpp106 Cast->getOpcode() == Instruction::ZExt) &&
197 if (auto *ZExt = dyn_cast<ZExtInst>(Op))
198 if (cast<VectorType>(ZExt->getOperand(0)->getType())
201 return ZExt->getOperand(0);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp225 /// of the register. ZExt on the loads will be free, and the same for call
241 return Call->hasRetAttr(Attribute::AttrKind::ZExt);
265 if (auto *ZExt = dyn_cast<ZExtInst>(V))
266 return GreaterThanTypeSize(ZExt);
484 LLVM_DEBUG(dbgs() << "IR Promotion: Inserting ZExt for " << *V << "\n");
489 Value *ZExt = Builder.CreateZExt(V, ExtTy);
490 if (auto *I = dyn_cast<Instruction>(ZExt)) {
498 ReplaceAllUsersOfWith(V, ZExt);
620 auto ZExt = cast<ZExtInst>(V); local
621 if (ZExt
[all...]
H A DAnalysis.cpp580 if (CallerAttrs.contains(Attribute::ZExt)) {
581 if (!CalleeAttrs.contains(Attribute::ZExt))
585 CallerAttrs.removeAttribute(Attribute::ZExt);
586 CalleeAttrs.removeAttribute(Attribute::ZExt);
608 CalleeAttrs.removeAttribute(Attribute::ZExt);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp146 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) {
147 V = ZExt->getOperand(0);
148 Operations.push_back(ZExt);
178 case Instruction::ZExt:
H A DNaryReassociate.cpp337 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) {
339 if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT))
340 IndexToSplit = ZExt->getOperand(0);
H A DSpeculativeExecution.cpp227 case Instruction::ZExt:
H A DCorrelatedValuePropagation.cpp728 auto *ZExt = local
730 ZExt->setDebugLoc(SDI->getDebugLoc());
731 SDI->replaceAllUsesWith(ZExt);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator in enum:llvm::HexagonEvaluator::ExtType::__anon4099
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp17 // The only exception is for {ZExt, SExt}Inst with operand type equal to
53 case Instruction::ZExt:
117 case Instruction::ZExt:
326 case Instruction::ZExt:
401 // it, because {SExt, ZExt}Inst Instruction might have other users that was
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp754 Attribute::ZExt);
755 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt);
756 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt);
767 Attribute::ZExt);
768 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt);
769 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt);
780 Attribute::ZExt);
788 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt);
1184 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt);
1185 Call->addParamAttr(0, Attribute::ZExt);
[all...]
H A DSanitizerCoverage.cpp434 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 0, Attribute::ZExt);
436 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 1, Attribute::ZExt);
463 AL = AL.addParamAttribute(*C, 0, Attribute::ZExt);
815 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h377 return Signed ? Attribute::SExt : Attribute::ZExt;
388 return Signed ? Attribute::SExt : Attribute::ZExt;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp169 case Instruction::ZExt:
657 // cost for a Select / ZExt or SExt instruction.
695 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP)
723 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
733 if (Opcode == Instruction::ZExt)
755 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) {
757 // ZExt/SExt will be handled with one unpack per doubling of width.
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h37 ZExt, // The value is zero extended in the location. enumerator in enum:llvm::CCValAssign::LocInfo
156 return (HTP == AExt || HTP == SExt || HTP == ZExt);
H A DFastISel.h114 RetZExt = Call.hasRetAttr(Attribute::ZExt);
138 RetZExt = Call.hasRetAttr(Attribute::ZExt);
H A DBasicTTIImpl.h729 case Instruction::ZExt:
746 ((Opcode == Instruction::ZExt) ? ISD::ZEXTLOAD : ISD::SEXTLOAD);
783 if (Opcode == Instruction::ZExt)
1479 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
1544 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp303 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType());
305 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp156 case CCValAssign::LocInfo::ZExt:
192 VA.getLocInfo() == CCValAssign::ZExt ||
296 case CCValAssign::ZExt: {
354 return CCValAssign::LocInfo::ZExt;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CallingConvention.cpp138 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp109 case Instruction::ZExt:
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp836 else if (Attrs.hasParamAttribute(I, Attribute::ZExt))
957 const auto *ZExt = cast<ZExtInst>(I); local
959 const Value *Op = ZExt->getOperand(0);
961 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType()));
969 updateValueMap(ZExt, Reg);
1333 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt))
1363 case Instruction::ZExt:
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp86 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt))
500 case CCValAssign::ZExt: {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp106 case CCValAssign::ZExt:
178 case CCValAssign::ZExt:
368 case CCValAssign::ZExt:
487 case CCValAssign::ZExt:
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp606 false /*ZExt*/);
2578 case Instruction::ZExt:
2620 case Instruction::ZExt:
2697 { 8, 1, 9,99,99, 2,17,99,99,99, 2, 3, 0}, // ZExt |
2797 return Instruction::ZExt;
2877 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore);
2899 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd);
2920 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore);
2928 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd);
3047 (isSigned ? Instruction::SExt : Instruction::ZExt)));
[all...]

Completed in 226 milliseconds

12345