/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMCodeGenPrepare.cpp | 140 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSupportedType() local 141 return isSupportedType(ZExt->getOperand(0)); in isSupportedType() 167 else if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSource() local 169 return isa<LoadInst>(ZExt->getOperand(0)) && in isSource() 170 ZExt->getOperand(0)->hasOneUse(); in isSource() 172 return Call->hasRetAttr(Attribute::AttrKind::ZExt); in isSource() 236 if (auto *ZExt = dyn_cast<ZExtInst>(I)) in shouldPromote() local 237 return !ZExt->getDestTy()->isIntegerTy(32); in shouldPromote() 343 auto *ZExt = cast<Instruction>(Builder.CreateZExt(V, ExtTy)); in Mutate() local 345 ZExt->moveBefore(InsertPt); in Mutate() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FixupSetCC.cpp | 134 MachineInstr *ZExt = nullptr; in runOnMachineFunction() local 137 ZExt = &Use; in runOnMachineFunction() 139 if (!ZExt) in runOnMachineFunction() 172 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction() 177 MRI->replaceRegWith(ZExt->getOperand(0).getReg(), InsertReg); in runOnMachineFunction() 178 ToErase.push_back(ZExt); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
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()
|
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()
|
/external/llvm/unittests/IR/ |
D | AttributesTest.cpp | 25 AttributeSet::get(C, 1, Attribute::ZExt), in TEST() 47 AttributeSet::get(C, 2, Attribute::ZExt), in TEST()
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/ |
D | X86GenCallingConv.inc | 383 LocInfo = CCValAssign::ZExt; 479 LocInfo = CCValAssign::ZExt; 489 LocInfo = CCValAssign::ZExt; 499 LocInfo = CCValAssign::ZExt; 509 LocInfo = CCValAssign::ZExt; 519 LocInfo = CCValAssign::ZExt; 529 LocInfo = CCValAssign::ZExt; 569 LocInfo = CCValAssign::ZExt; 628 LocInfo = CCValAssign::ZExt; 693 LocInfo = CCValAssign::ZExt; [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetCallingConv.h | 23 static const uint64_t ZExt = 1ULL<<0; ///< Zero extended member 50 bool isZExt() const { return Flags & ZExt; } in isZExt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
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() 741 F->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in runOnModule() 742 F->addParamAttr(0, Attribute::ZExt); in runOnModule() 743 F->addParamAttr(1, Attribute::ZExt); in runOnModule() 750 F->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in runOnModule() 757 F->addParamAttr(0, Attribute::ZExt); in runOnModule() 1098 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in combineShadows() 1099 Call->addParamAttr(0, Attribute::ZExt); in combineShadows() [all …]
|
D | SanitizerCoverage.cpp | 365 SanCovTraceCmpFunction[i]->addParamAttr(0, Attribute::ZExt); in runOnModule() 366 SanCovTraceCmpFunction[i]->addParamAttr(1, Attribute::ZExt); in runOnModule() 367 SanCovTraceConstCmpFunction[i]->addParamAttr(0, Attribute::ZExt); in runOnModule() 368 SanCovTraceConstCmpFunction[i]->addParamAttr(1, Attribute::ZExt); in runOnModule() 370 SanCovTraceDivFunction[0]->addParamAttr(0, Attribute::ZExt); in runOnModule() 666 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 627 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule() 628 F->addAttribute(1, Attribute::ZExt); in runOnModule() 629 F->addAttribute(2, Attribute::ZExt); in runOnModule() 635 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule() 636 F->addAttribute(1, Attribute::ZExt); in runOnModule() 637 F->addAttribute(2, Attribute::ZExt); in runOnModule() 644 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule() 651 F->addAttribute(1, Attribute::ZExt); in runOnModule() 986 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows() 987 Call->addAttribute(1, Attribute::ZExt); in combineShadows() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.h | 28 static const uint64_t ZExt = 1ULL<<0; ///< Zero extended member 70 bool isZExt() const { return Flags & ZExt; } in isZExt()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Attributes.h | 37 const Attributes ZExt = 1<<0; ///< Zero extended before/after call variable 103 ZExt | SExt,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 46 case Instruction::ZExt: in getRelevantOperands() 106 case Instruction::ZExt: in buildTruncExpressionDag() 313 case Instruction::ZExt: in ReduceExpressionDag()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 168 case Instruction::ZExt: in getIntImmCost() 623 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost() 644 if (Opcode == Instruction::ZExt) in getCastInstrCost() 708 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost() 715 if (Opcode == Instruction::ZExt) in getCastInstrCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | CallLowering.cpp | 66 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt)) in setArgFlags() 176 case CCValAssign::ZExt: { in extendRegister()
|
/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 340 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local 342 if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT)) in tryReassociateGEPAtIndex() 343 IndexToSplit = ZExt->getOperand(0); in tryReassociateGEPAtIndex()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | CallingConvLower.h | 35 ZExt, // The value is zero extended in the location. enumerator 127 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
/external/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 127 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv() 130 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 552 if (CallerAttrs.contains(Attribute::ZExt)) { in returnTypeIsEligibleForTailCall() 553 if (!CalleeAttrs.contains(Attribute::ZExt)) in returnTypeIsEligibleForTailCall() 557 CallerAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall() 558 CalleeAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | Analysis.cpp | 527 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall() 528 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall() 532 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall() 533 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 687 else if (Attrs.hasAttribute(i+1, Attribute::ZExt)) in selectCall() 791 const ZExtInst *ZExt = cast<ZExtInst>(I); in selectZExt() local 793 const Value *Op = ZExt->getOperand(0); in selectZExt() 795 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType())); in selectZExt() 800 updateValueMap(ZExt, Reg); in selectZExt() 1140 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt)) in selectRet() 1163 case Instruction::ZExt: return selectZExt(I); in fastSelectInstruction()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonBitTracker.h | 51 enum { SExt, ZExt }; enumerator
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.h | 307 return Signed ? Attribute::SExt : Attribute::ZExt; 318 return Signed ? Attribute::SExt : Attribute::ZExt;
|
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/ |
D | BlackfinISelLowering.cpp | 201 else if (VA.getLocInfo() == CCValAssign::ZExt) in LowerFormalArguments() 262 case CCValAssign::ZExt: in LowerReturn() 319 case CCValAssign::ZExt: in LowerCall() 405 case CCValAssign::ZExt: in LowerCall()
|