Home
last modified time | relevance | path

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

123

/external/llvm/unittests/IR/
DAttributesTest.cpp25 AttributeSet::get(C, 1, Attribute::ZExt), in TEST()
38 AttributeSet::get(C, 2, Attribute::ZExt), in TEST()
/external/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()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp131 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
134 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
DLocal.cpp994 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(SI->getOperand(0))) in ConvertDebugDeclareToDebugValue() local
995 ExtendedArg = dyn_cast<Argument>(ZExt->getOperand(0)); in ConvertDebugDeclareToDebugValue()
/external/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()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp289 if (Opcode == Instruction::ZExt && in getCastInstrCost()
320 if (Opcode == Instruction::ZExt) in getCastInstrCost()
DTargetLoweringBase.cpp1137 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1161 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1220 case ZExt: return ISD::ZERO_EXTEND; in InstructionOpcodeToISD()
DAnalysis.cpp531 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in isInTailCallPosition()
/external/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()
972 if (CE1->getOpcode() == Instruction::ZExt) { in ConstantFoldBinaryInstruction()
1028 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero. in ConstantFoldBinaryInstruction()
1438 case Instruction::ZExt: in evaluateICmpRelation()
1444 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation()
1855 (CE1->getOpcode() == Instruction::ZExt && !ICmpInst::isSigned(pred))){ in ConstantFoldCompareInstruction()
DInstructions.cpp2048 case Instruction::ZExt: in isIntegerCast()
2090 case Instruction::ZExt: in isNoopCast()
2258 return Instruction::ZExt; in isEliminableCastPair()
2331 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
2352 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2372 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast()
2380 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
2458 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
2472 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
2646 return ZExt; // unsigned -> ZEXT in getCastOpcode()
[all …]
DAttributes.cpp225 if (hasAttribute(Attribute::ZExt)) in getAsString()
348 case Attribute::ZExt: return 1 << 0; in getAttrMask()
1160 .addAttribute(Attribute::ZExt); in typeIncompatible()
DInstruction.cpp227 case ZExt: return "zext"; in getOpcodeName()
DConstants.cpp1118 case Instruction::ZExt: in getWithOperands()
1453 case Instruction::ZExt: return getZExt(C, Ty); in getCast()
1504 (isSigned ? Instruction::SExt : Instruction::ZExt))); in getIntegerCast()
1559 return getFoldedCast(Instruction::ZExt, C, Ty); in getZExt()
2748 case Instruction::ZExt: in getAsInstruction()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCUtil.cpp223 case Instruction::SExt: case Instruction::ZExt: case Instruction::Trunc: in GetInstructionClass()
/external/llvm/lib/Analysis/
DCostModel.cpp171 case Instruction::ZExt: in getInstructionCost()
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()
3368 if (const SCEVZeroExtendExpr *ZExt = dyn_cast<SCEVZeroExtendExpr>(S)) { in getUnsignedRange() local
3369 ConstantRange X = getUnsignedRange(ZExt->getOperand()); in getUnsignedRange()
3370 return setUnsignedRange(ZExt, in getUnsignedRange()
[all …]
/external/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()
1554 case Instruction::ZExt: in CollectInsertionElements()
DInstCombineVectorOps.cpp537 case Instruction::ZExt: in CanEvaluateShuffled()
620 case Instruction::ZExt: in BuildNew()
697 case Instruction::ZExt: in EvaluateInDifferentElementOrder()
/external/llvm/include/llvm/IR/
DInstruction.def146 HANDLE_CAST_INST(34, ZExt , ZExtInst ) // Zero extend integers
DAttributes.h108 ZExt, ///< Zero extended before/after call enumerator
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp199 case Instruction::ZExt: in shouldSpeculateInstrs()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp270 case CCValAssign::ZExt: in LowerReturn_64()
572 case CCValAssign::ZExt: in LowerFormalArguments_64()
733 case CCValAssign::ZExt: in LowerCall_32()
1034 case CCValAssign::ZExt: in LowerCall_64()
1171 case CCValAssign::ZExt: in LowerCall_64()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp112 LocInfo = CCValAssign::ZExt; in CC_Hexagon_VarArg()
150 LocInfo = CCValAssign::ZExt; in CC_Hexagon()
225 LocInfo = CCValAssign::ZExt; in RetCC_Hexagon()
472 case CCValAssign::ZExt: in LowerCall()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp488 HANDLE_ATTR(ZExt); in printAttributes()
835 case Instruction::ZExt: Out << "Instruction::ZExt"; break; in printConstant()
1380 case Instruction::ZExt: in printInstruction()
1395 case Instruction::ZExt: Out << "ZExtInst"; break; in printInstruction()
/external/llvm/include/llvm/Support/
DPatternMatch.h691 inline CastClass_match<OpTy, Instruction::ZExt>
693 return CastClass_match<OpTy, Instruction::ZExt>(Op); in m_ZExt()

123