Home
last modified time | relevance | path

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

12345678910>>...14

/external/llvm-project/llvm/lib/Target/X86/
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()
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FixupSetCC.cpp79 MachineInstr *ZExt = nullptr; in runOnMachineFunction() local
82 ZExt = &Use; in runOnMachineFunction()
84 if (!ZExt) in runOnMachineFunction()
114 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc(), in runOnMachineFunction()
119 MRI->replaceRegWith(ZExt->getOperand(0).getReg(), InsertReg); in runOnMachineFunction()
120 ToErase.push_back(ZExt); in runOnMachineFunction()
/external/llvm/lib/Target/X86/
DX86FixupSetCC.cpp134 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/llvm-project/llvm/lib/CodeGen/
DTypePromotion.cpp242 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 …]
DAnalysis.cpp583 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
584 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall()
588 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
589 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
611 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp240 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()
488 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local
489 if (auto *I = dyn_cast<Instruction>(ZExt)) { in ExtendSources()
497 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources()
619 auto ZExt = cast<ZExtInst>(V); in Cleanup() local
620 if (ZExt->getDestTy() != ExtTy) in Cleanup()
623 Value *Src = ZExt->getOperand(0); in Cleanup()
624 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup()
[all …]
DAnalysis.cpp581 if (CallerAttrs.contains(Attribute::ZExt)) { in attributesPermitTailCall()
582 if (!CalleeAttrs.contains(Attribute::ZExt)) in attributesPermitTailCall()
586 CallerAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
587 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
609 CalleeAttrs.removeAttribute(Attribute::ZExt); in attributesPermitTailCall()
/external/llvm/unittests/IR/
DAttributesTest.cpp25 AttributeSet::get(C, 1, Attribute::ZExt), in TEST()
47 AttributeSet::get(C, 2, Attribute::ZExt), in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp120 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef() local
121 V = ZExt->getOperand(0); in handlePhiDef()
122 Operations.push_back(ZExt); in handlePhiDef()
152 case Instruction::ZExt: in handlePhiDef()
DNaryReassociate.cpp337 } 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/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenCallingConv.inc390 LocInfo = CCValAssign::ZExt;
486 LocInfo = CCValAssign::ZExt;
496 LocInfo = CCValAssign::ZExt;
506 LocInfo = CCValAssign::ZExt;
516 LocInfo = CCValAssign::ZExt;
526 LocInfo = CCValAssign::ZExt;
536 LocInfo = CCValAssign::ZExt;
576 LocInfo = CCValAssign::ZExt;
635 LocInfo = CCValAssign::ZExt;
700 LocInfo = CCValAssign::ZExt;
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp138 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef() local
139 V = ZExt->getOperand(0); in handlePhiDef()
140 Operations.push_back(ZExt); in handlePhiDef()
170 case Instruction::ZExt: in handlePhiDef()
DNaryReassociate.cpp333 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local
335 if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT)) in tryReassociateGEPAtIndex()
336 IndexToSplit = ZExt->getOperand(0); in tryReassociateGEPAtIndex()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenCallingConv.inc121 LocInfo = CCValAssign::ZExt;
323 LocInfo = CCValAssign::ZExt;
333 LocInfo = CCValAssign::ZExt;
343 LocInfo = CCValAssign::ZExt;
353 LocInfo = CCValAssign::ZExt;
399 LocInfo = CCValAssign::ZExt;
411 LocInfo = CCValAssign::ZExt;
563 LocInfo = CCValAssign::ZExt;
573 LocInfo = CCValAssign::ZExt;
583 LocInfo = CCValAssign::ZExt;
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp785 Attribute::ZExt); in initializeRuntimeFunctions()
786 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
787 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions()
798 Attribute::ZExt); in initializeRuntimeFunctions()
799 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
800 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in initializeRuntimeFunctions()
811 Attribute::ZExt); in initializeRuntimeFunctions()
822 Attribute::ZExt); in initializeRuntimeFunctions()
830 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in initializeRuntimeFunctions()
1241 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in combineShadows()
[all …]
/external/llvm/include/llvm/Target/
DTargetCallingConv.h28 static const uint64_t ZExt = 1ULL<<0; ///< Zero extended member
70 bool isZExt() const { return Flags & ZExt; } in isZExt()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp627 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp742 Attribute::ZExt); in runOnModule()
743 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in runOnModule()
744 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in runOnModule()
756 Attribute::ZExt); in runOnModule()
757 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in runOnModule()
758 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt); in runOnModule()
769 Attribute::ZExt); in runOnModule()
777 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt); in runOnModule()
1124 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in combineShadows()
1125 Call->addParamAttr(0, Attribute::ZExt); in combineShadows()
[all …]
/external/llvm-project/llvm/unittests/IR/
DAttributesTest.cpp24 AttributeList ASs[] = {AttributeList::get(C, 1, Attribute::ZExt), in TEST()
45 EXPECT_FALSE(ByVal < Attribute::get(C, Attribute::ZExt)); in TEST()
49 AttributeList ASs[] = {AttributeList::get(C, 2, Attribute::ZExt), in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp45 case Instruction::ZExt: in getRelevantOperands()
105 case Instruction::ZExt: in buildTruncExpressionDag()
312 case Instruction::ZExt: in ReduceExpressionDag()
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp53 case Instruction::ZExt: in getRelevantOperands()
117 case Instruction::ZExt: in buildTruncExpressionDag()
327 case Instruction::ZExt: in ReduceExpressionDag()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h51 enum { SExt, ZExt }; enumerator
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp127 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
130 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp340 } 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()

12345678910>>...14