| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86FixupSetCC.cpp | 81 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 D | X86PartialReduction.cpp | 106 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 242 return Call->hasRetAttr(Attribute::AttrKind::ZExt); in isSource() 266 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() local 267 return GreaterThanTypeSize(ZExt); in isSink() 490 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local 491 if (auto *I = dyn_cast<Instruction>(ZExt)) { in ExtendSources() 499 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources() 621 auto ZExt = cast<ZExtInst>(V); in Cleanup() local 622 if (ZExt->getDestTy() != ExtTy) in Cleanup() 625 Value *Src = ZExt->getOperand(0); in Cleanup() 626 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup() [all …]
|
| H A D | Analysis.cpp | 571 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 139 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 D | SCCP.cpp | 176 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst); in simplifyInstsInBlock() local 177 InsertedValues.insert(ZExt); in simplifyInstsInBlock() 178 Inst.replaceAllUsesWith(ZExt); in simplifyInstsInBlock()
|
| H A D | NaryReassociate.cpp | 361 } 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 D | SpeculativeExecution.cpp | 227 case Instruction::ZExt: in ComputeSpeculationCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 1307 Attribute::ZExt); in initializeRuntimeFunctions() 1308 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions() 1309 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions() 1320 Attribute::ZExt); in initializeRuntimeFunctions() 1321 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions() 1322 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions() 1333 Attribute::ZExt); in initializeRuntimeFunctions() 1344 Attribute::ZExt); in initializeRuntimeFunctions() 1355 Attribute::ZExt); in initializeRuntimeFunctions() 1363 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions() [all …]
|
| H A D | SanitizerCoverage.cpp | 429 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 0, Attribute::ZExt); in instrumentModule() 431 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 1, Attribute::ZExt); in instrumentModule() 456 AL = AL.addParamAttribute(*C, 0, Attribute::ZExt); in instrumentModule() 809 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 53 case Instruction::ZExt: in getRelevantOperands() 117 case Instruction::ZExt: in buildTruncExpressionDag() 323 case Instruction::ZExt: in ReduceExpressionDag()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 843 else if (Attrs.hasParamAttribute(I, Attribute::ZExt)) in selectCall() 991 const auto *ZExt = cast<ZExtInst>(I); in selectZExt() local 993 const Value *Op = ZExt->getOperand(0); in selectZExt() 995 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt() 1003 updateValueMap(ZExt, Reg); in selectZExt() 1372 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt)) in selectRet() 1402 case Instruction::ZExt: in fastSelectInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ReplaceConstant.cpp | 52 case Instruction::ZExt: in createReplacementInstr()
|
| H A D | ConstantFold.cpp | 315 case Instruction::ZExt: { in ExtractConstantBytes() 554 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction() 728 case Instruction::ZExt: in ConstantFoldCastInstruction() 1288 if (CE1->getOpcode() == Instruction::ZExt) { in ConstantFoldBinaryInstruction() 1364 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero. in ConstantFoldBinaryInstruction() 1814 case Instruction::ZExt: in evaluateICmpRelation() 1823 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation() 2287 (CE1->getOpcode() == Instruction::ZExt && in ConstantFoldCompareInstruction()
|
| H A D | Instructions.cpp | 2652 case Instruction::ZExt: in isIntegerCast() 2695 case Instruction::ZExt: in isNoopCast() 2872 return Instruction::ZExt; in isEliminableCastPair() 2952 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create() 2974 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create() 2995 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast() 3003 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast() 3122 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 3136 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 3261 return ZExt; // unsigned -> ZEXT in getCastOpcode() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitTracker.h | 62 enum { SExt, ZExt }; enumerator
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 170 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 373 return Signed ? Attribute::SExt : Attribute::ZExt; 384 return Signed ? Attribute::SExt : Attribute::ZExt;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MipsCallLowering.cpp | 157 case CCValAssign::LocInfo::ZExt: in assignValueToReg() 194 VA.getLocInfo() == CCValAssign::ZExt || in assignValueToAddress() 298 case CCValAssign::ZExt: { in extendRegister() 356 return CCValAssign::LocInfo::ZExt; in determineLocInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 38 ZExt, // The value is zero extended in the location. enumerator 157 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
| H A D | FastISel.h | 114 RetZExt = Call.hasRetAttr(Attribute::ZExt); in setCallee() 138 RetZExt = Call.hasRetAttr(Attribute::ZExt);
|
| H A D | BasicTTIImpl.h | 891 case Instruction::ZExt: 905 ((Opcode == Instruction::ZExt) ? ISD::ZEXTLOAD : ISD::SEXTLOAD); 943 if (Opcode == Instruction::ZExt) 1734 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost() 1803 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost() 2142 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedAddReductionCost()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| H A D | BPFAdjustOpt.cpp | 285 if (Inst->getOpcode() == Instruction::ZExt || in avoidSpeculation()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64CallingConvention.cpp | 178 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt; in CC_AArch64_Custom_Block()
|