| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86FixupSetCC.cpp | 135 MachineInstr *ZExt = nullptr; in runOnMachineFunction() local 138 ZExt = &Use; in runOnMachineFunction() 140 if (!ZExt) in runOnMachineFunction() 173 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction() 178 MRI->replaceRegWith(ZExt->getOperand(0).getReg(), InsertReg); in runOnMachineFunction() 179 ToErase.push_back(ZExt); in runOnMachineFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMCodeGenPrepare.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() 535 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local 536 if (auto *I = dyn_cast<Instruction>(ZExt)) { in ExtendSources() 544 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources() 692 auto ZExt = cast<CastInst>(V); in Cleanup() local 693 if (ZExt->getDestTy() != ExtTy) in Cleanup() 696 Value *Src = ZExt->getOperand(0); in Cleanup() 697 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 114 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef() local 115 V = ZExt->getOperand(0); in handlePhiDef() 116 Operations.push_back(ZExt); in handlePhiDef() 146 case Instruction::ZExt: in handlePhiDef()
|
| H A D | NaryReassociate.cpp | 337 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local 339 if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT)) in tryReassociateGEPAtIndex() 340 IndexToSplit = ZExt->getOperand(0); in tryReassociateGEPAtIndex()
|
| H A D | SpeculativeExecution.cpp | 226 case Instruction::ZExt: in ComputeSpeculationCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 733 F->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in runOnModule() 734 F->addParamAttr(0, Attribute::ZExt); in runOnModule() 735 F->addParamAttr(1, Attribute::ZExt); in runOnModule() 742 F->addParamAttr(0, Attribute::ZExt); in runOnModule() 743 F->addParamAttr(1, Attribute::ZExt); in runOnModule() 757 F->addParamAttr(0, Attribute::ZExt); in runOnModule() 1100 Call->addParamAttr(0, Attribute::ZExt); in combineShadows() 1101 Call->addParamAttr(1, Attribute::ZExt); in combineShadows() 1113 Call->addParamAttr(0, Attribute::ZExt); in combineShadows() 1114 Call->addParamAttr(1, Attribute::ZExt); in combineShadows() [all …]
|
| H A D | SanitizerCoverage.cpp | 385 SanCovTraceCmpFunction[i]->addParamAttr(0, Attribute::ZExt); in runOnModule() 386 SanCovTraceCmpFunction[i]->addParamAttr(1, Attribute::ZExt); in runOnModule() 387 SanCovTraceConstCmpFunction[i]->addParamAttr(0, Attribute::ZExt); in runOnModule() 388 SanCovTraceConstCmpFunction[i]->addParamAttr(1, Attribute::ZExt); in runOnModule() 390 SanCovTraceDivFunction[0]->addParamAttr(0, Attribute::ZExt); in runOnModule() 684 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 533 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall() 534 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall() 538 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall() 539 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall() 561 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 46 case Instruction::ZExt: in getRelevantOperands() 106 case Instruction::ZExt: in buildTruncExpressionDag() 313 case Instruction::ZExt: in ReduceExpressionDag()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 68 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt)) in setArgFlags() 177 case CCValAssign::ZExt: { in extendRegister()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsCallLowering.cpp | 135 case CCValAssign::LocInfo::ZExt: in assignValueToReg() 169 VA.getLocInfo() == CCValAssign::ZExt || in assignValueToAddress() 262 case CCValAssign::ZExt: { in extendRegister() 310 return CCValAssign::LocInfo::ZExt; in determineLocInfo()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 307 return Signed ? Attribute::SExt : Attribute::ZExt; 318 return Signed ? Attribute::SExt : Attribute::ZExt;
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 168 case Instruction::ZExt: in getIntImmCost() 644 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP) in getBoolVecToIntConversionCost() 668 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost() 752 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost() 762 if (Opcode == Instruction::ZExt) in getCastInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitTracker.h | 63 enum { SExt, ZExt }; enumerator
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 839 else if (Attrs.hasParamAttribute(i, Attribute::ZExt)) in selectCall() 951 const ZExtInst *ZExt = cast<ZExtInst>(I); in selectZExt() local 953 const Value *Op = ZExt->getOperand(0); in selectZExt() 955 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt() 963 updateValueMap(ZExt, Reg); in selectZExt() 1343 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt)) in selectRet() 1371 case Instruction::ZExt: in fastSelectInstruction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 38 ZExt, // The value is zero extended in the location. enumerator 156 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
| H A D | FastISel.h | 116 RetZExt = Call.hasRetAttr(Attribute::ZExt); in setCallee() 140 RetZExt = Call.hasRetAttr(Attribute::ZExt);
|
| H A D | BasicTTIImpl.h | 413 case Instruction::ZExt: in getOperationCost() 655 if (Opcode == Instruction::ZExt && 666 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && 671 ((Opcode == Instruction::ZExt) ? ISD::ZEXTLOAD : ISD::SEXTLOAD); 703 if (Opcode == Instruction::ZExt)
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 303 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB() 305 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 311 case Instruction::ZExt: { in ExtractConstantBytes() 525 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction() 690 case Instruction::ZExt: in ConstantFoldCastInstruction() 1066 if (CE1->getOpcode() == Instruction::ZExt) { in ConstantFoldBinaryInstruction() 1122 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero. in ConstantFoldBinaryInstruction() 1552 case Instruction::ZExt: in evaluateICmpRelation() 1561 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation() 1998 (CE1->getOpcode() == Instruction::ZExt && in ConstantFoldCompareInstruction()
|
| H A D | Instructions.cpp | 2280 case Instruction::ZExt: in isIntegerCast() 2322 case Instruction::ZExt: in isNoopCast() 2499 return Instruction::ZExt; in isEliminableCastPair() 2622 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast() 2630 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast() 2747 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 2761 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 2944 return ZExt; // unsigned -> ZEXT in getCastOpcode() 3040 case Instruction::ZExt: in castIsValid() 3142 ) : CastInst(Ty, ZExt, S, Name, InsertBefore) { in ZExtInst() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 194 case Instruction::ZExt: in EvaluateInDifferentType() 423 case Instruction::ZExt: in canEvaluateTruncated() 994 case Instruction::ZExt: // zext(zext(x)) -> zext(x). in canEvaluateZExtd() 1324 case Instruction::ZExt: // sext(zext(x)) -> zext(x) in canEvaluateSExtd() 1377 Value *ZExt = Builder.CreateZExt(Src, DestTy); in visitSExt() local 1378 return replaceInstUsesWith(CI, ZExt); in visitSExt() 1961 case Instruction::ZExt: in collectInsertionElements()
|
| /freebsd-12.1/contrib/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 109 case Instruction::ZExt: in createReplacementInstr()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 125 case Instruction::ZExt: in getIntImmCost() 402 assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) && in getExtractWithExtendCost() 443 case Instruction::ZExt: in getExtractWithExtendCost()
|
| H A D | AArch64FastISel.cpp | 852 case Instruction::ZExt: { in computeAddress() 3068 case CCValAssign::ZExt: { in processCallArgs() 4647 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul() local 4648 if (!isIntExtFree(ZExt)) { in selectMul() 4650 if (isValueAvailable(ZExt) && isTypeSupported(ZExt->getSrcTy(), VT)) { in selectMul() 4653 Src0 = ZExt->getOperand(0); in selectMul() 4714 if (const auto *ZExt = dyn_cast<ZExtInst>(Op0)) { in selectShift() local 4715 if (!isIntExtFree(ZExt)) { in selectShift() 4717 if (isValueAvailable(ZExt) && isTypeSupported(ZExt->getSrcTy(), TmpVT)) { in selectShift() 4720 Op0 = ZExt->getOperand(0); in selectShift() [all …]
|