Home
last modified time | relevance | path

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

123

/freebsd-9-stable/contrib/llvm/include/llvm/Target/
DTargetCallingConv.h27 static const uint64_t ZExt = 1ULL<<0; ///< Zero extended member
56 bool isZExt() const { return Flags & ZExt; } in isZExt()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DAnalysis.cpp540 if (CallerAttrs.contains(Attribute::ZExt)) { in returnTypeIsEligibleForTailCall()
541 if (!CalleeAttrs.contains(Attribute::ZExt)) in returnTypeIsEligibleForTailCall()
545 CallerAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()
546 CalleeAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()
DBasicTargetTransformInfo.cpp300 if (Opcode == Instruction::ZExt && in getCastInstrCost()
331 if (Opcode == Instruction::ZExt) in getCastInstrCost()
DTargetLoweringBase.cpp1197 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1221 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1280 case ZExt: return ISD::ZERO_EXTEND; in InstructionOpcodeToISD()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp501 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
502 F->addAttribute(1, Attribute::ZExt); in runOnModule()
503 F->addAttribute(2, Attribute::ZExt); in runOnModule()
508 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
515 F->addAttribute(1, Attribute::ZExt); in runOnModule()
830 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows()
831 Call->addAttribute(1, Attribute::ZExt); in combineShadows()
832 Call->addAttribute(2, Attribute::ZExt); in combineShadows()
921 FallbackCall->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in loadShadow()
966 FallbackCall->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in loadShadow()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp131 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
134 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
DLocal.cpp986 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(SI->getOperand(0))) in ConvertDebugDeclareToDebugValue() local
987 ExtendedArg = dyn_cast<Argument>(ZExt->getOperand(0)); in ConvertDebugDeclareToDebugValue()
/freebsd-9-stable/contrib/llvm/include/llvm/CodeGen/
DCallingConvLower.h36 ZExt, // The value is zero extended in the location. enumerator
128 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
/freebsd-9-stable/contrib/llvm/lib/IR/
DConstantFold.cpp296 case Instruction::ZExt: { in ExtractConstantBytes()
516 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction()
659 case Instruction::ZExt: in ConstantFoldCastInstruction()
974 if (CE1->getOpcode() == Instruction::ZExt) { in ConstantFoldBinaryInstruction()
1030 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero. in ConstantFoldBinaryInstruction()
1440 case Instruction::ZExt: in evaluateICmpRelation()
1446 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation()
1857 (CE1->getOpcode() == Instruction::ZExt && !ICmpInst::isSigned(pred))){ in ConstantFoldCompareInstruction()
DInstructions.cpp2048 case Instruction::ZExt: in isIntegerCast()
2090 case Instruction::ZExt: in isNoopCast()
2266 return Instruction::ZExt; in isEliminableCastPair()
2356 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
2378 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2399 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast()
2407 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
2495 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
2509 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
2683 return ZExt; // unsigned -> ZEXT in getCastOpcode()
[all …]
DAttributes.cpp227 if (hasAttribute(Attribute::ZExt)) in getAsString()
354 case Attribute::ZExt: return 1 << 0; in getAttrMask()
1167 .addAttribute(Attribute::ZExt); in typeIncompatible()
DConstants.cpp1118 case Instruction::ZExt: in getWithOperands()
1454 case Instruction::ZExt: return getZExt(C, Ty); in getCast()
1522 (isSigned ? Instruction::SExt : Instruction::ZExt))); in getIntegerCast()
1577 return getFoldedCast(Instruction::ZExt, C, Ty); in getZExt()
2773 case Instruction::ZExt: in getAsInstruction()
/freebsd-9-stable/contrib/llvm/lib/Transforms/ObjCARC/
DObjCARCUtil.cpp223 case Instruction::SExt: case Instruction::ZExt: case Instruction::Trunc: in GetInstructionClass()
/freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp192 case Instruction::ZExt: in EvaluateInDifferentType()
408 case Instruction::ZExt: in CanEvaluateTruncated()
670 case Instruction::ZExt: // zext(zext(x)) -> zext(x). in CanEvaluateZExtd()
1022 case Instruction::ZExt: // sext(zext(x)) -> zext(x) in CanEvaluateSExtd()
1599 case Instruction::ZExt: in CollectInsertionElements()
DInstCombineVectorOps.cpp571 case Instruction::ZExt: in CanEvaluateShuffled()
654 case Instruction::ZExt: in BuildNew()
731 case Instruction::ZExt: in EvaluateInDifferentElementOrder()
/freebsd-9-stable/contrib/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp108 case Instruction::ZExt: in createReplacementInstr()
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DAttributes.h110 ZExt, ///< Zero extended before/after call enumerator
DInstruction.def146 HANDLE_CAST_INST(34, ZExt , ZExtInst ) // Zero extend integers
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp199 case Instruction::ZExt: in shouldSpeculateInstrs()
/freebsd-9-stable/contrib/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp124 LocInfo = CCValAssign::ZExt; in CC_Hexagon_VarArg()
162 LocInfo = CCValAssign::ZExt; in CC_Hexagon()
237 LocInfo = CCValAssign::ZExt; in RetCC_Hexagon()
485 case CCValAssign::ZExt: in LowerCall()
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DScalarEvolution.cpp151 const SCEVZeroExtendExpr *ZExt = cast<SCEVZeroExtendExpr>(this); in print() local
152 const SCEV *Op = ZExt->getOperand(); in print()
154 << *ZExt->getType() << ")"; in print()
1333 const SCEV *ZExt = getZeroExtendExpr(Op, Ty); in getAnyExtendExpr() local
1334 if (!isa<SCEVZeroExtendExpr>(ZExt)) in getAnyExtendExpr()
1335 return ZExt; in getAnyExtendExpr()
1356 return ZExt; in getAnyExtendExpr()
3363 if (const SCEVZeroExtendExpr *ZExt = dyn_cast<SCEVZeroExtendExpr>(S)) { in getUnsignedRange() local
3364 ConstantRange X = getUnsignedRange(ZExt->getOperand()); in getUnsignedRange()
3365 return setUnsignedRange(ZExt, in getUnsignedRange()
[all …]
DCostModel.cpp431 case Instruction::ZExt: in getInstructionCost()
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1254 case CCValAssign::ZExt: { in processCallArgs()
1434 if (CS.paramHasAttr(AttrIdx, Attribute::ZExt)) in SelectCall()
1566 case CCValAssign::ZExt: { in SelectRet()
1780 case Instruction::ZExt: in TargetSelectInstruction()
/freebsd-9-stable/contrib/llvm/lib/Target/CppBackend/
DCPPBackend.cpp487 HANDLE_ATTR(ZExt); in printAttributes()
835 case Instruction::ZExt: Out << "Instruction::ZExt"; break; in printConstant()
1379 case Instruction::ZExt: in printInstruction()
1394 case Instruction::ZExt: Out << "ZExtInst"; break; in printInstruction()
/freebsd-9-stable/contrib/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp316 LocInfo = CCValAssign::ZExt; in AnalyzeArguments()
478 else if (VA.getLocInfo() == CCValAssign::ZExt) in LowerCCCArguments()
617 case CCValAssign::ZExt: in LowerCCCCallTo()

123