Home
last modified time | relevance | path

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

1234

/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.h28 static const uint64_t ZExt = 1ULL<<0; ///< Zero extended member
63 bool isZExt() const { return Flags & ZExt; } in isZExt()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp613 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
614 F->addAttribute(1, Attribute::ZExt); in runOnModule()
615 F->addAttribute(2, Attribute::ZExt); in runOnModule()
621 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
622 F->addAttribute(1, Attribute::ZExt); in runOnModule()
623 F->addAttribute(2, Attribute::ZExt); in runOnModule()
630 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
637 F->addAttribute(1, Attribute::ZExt); in runOnModule()
976 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows()
977 Call->addAttribute(1, Attribute::ZExt); in combineShadows()
[all …]
/external/llvm/lib/CodeGen/
DAnalysis.cpp549 if (CallerAttrs.contains(Attribute::ZExt)) { in returnTypeIsEligibleForTailCall()
550 if (!CalleeAttrs.contains(Attribute::ZExt)) in returnTypeIsEligibleForTailCall()
554 CallerAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()
555 CalleeAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp132 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
135 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h36 ZExt, // The value is zero extended in the location. enumerator
154 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
DFastISel.h105 RetZExt = Call.paramHasAttr(0, Attribute::ZExt); in setCallee()
129 RetZExt = Call.paramHasAttr(0, Attribute::ZExt);
DBasicTTIImpl.h214 case Instruction::ZExt: { in getOperationCost()
368 if (Opcode == Instruction::ZExt && in getCastInstrCost()
401 if (Opcode == Instruction::ZExt) in getCastInstrCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp192 case Instruction::ZExt: in EvaluateInDifferentType()
406 case Instruction::ZExt: in CanEvaluateTruncated()
669 case Instruction::ZExt: // zext(zext(x)) -> zext(x). in CanEvaluateZExtd()
1007 case Instruction::ZExt: // sext(zext(x)) -> zext(x) in CanEvaluateSExtd()
1066 Value *ZExt = Builder->CreateZExt(Src, DestTy); in visitSExt() local
1067 return ReplaceInstUsesWith(CI, ZExt); in visitSExt()
1621 case Instruction::ZExt: in CollectInsertionElements()
DInstCombineVectorOps.cpp631 case Instruction::ZExt: in CanEvaluateShuffled()
716 case Instruction::ZExt: in BuildNew()
794 case Instruction::ZExt: in EvaluateInDifferentElementOrder()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp168 case Instruction::ZExt: in getIntImmCost()
/external/llvm/lib/IR/
DInstructions.cpp1988 case Instruction::ZExt: in isIntegerCast()
2030 case Instruction::ZExt: in isNoopCast()
2219 return Instruction::ZExt; in isEliminableCastPair()
2303 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
2325 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2346 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast()
2354 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
2471 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
2485 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast()
2665 return ZExt; // unsigned -> ZEXT in getCastOpcode()
[all …]
DConstantFold.cpp310 case Instruction::ZExt: { in ExtractConstantBytes()
530 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction()
685 case Instruction::ZExt: in ConstantFoldCastInstruction()
1033 if (CE1->getOpcode() == Instruction::ZExt) { in ConstantFoldBinaryInstruction()
1089 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero. in ConstantFoldBinaryInstruction()
1512 case Instruction::ZExt: in evaluateICmpRelation()
1518 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false; in evaluateICmpRelation()
1948 (CE1->getOpcode() == Instruction::ZExt && !ICmpInst::isSigned(pred))){ in ConstantFoldCompareInstruction()
DAttributes.cpp261 if (hasAttribute(Attribute::ZExt)) in getAsString()
397 case Attribute::ZExt: return 1 << 0; in getAttrMask()
1296 .addAttribute(Attribute::ZExt); in typeIncompatible()
DInstruction.cpp225 case ZExt: return "zext"; in getOpcodeName()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp109 case Instruction::ZExt: in createReplacementInstr()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp805 case Instruction::ZExt: { in computeAddress()
2966 case CCValAssign::ZExt: { in processCallArgs()
4507 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul() local
4508 if (!isIntExtFree(ZExt)) { in selectMul()
4510 if (isValueAvailable(ZExt) && isTypeSupported(ZExt->getSrcTy(), VT)) { in selectMul()
4513 Src0 = ZExt->getOperand(0); in selectMul()
4574 if (const auto *ZExt = dyn_cast<ZExtInst>(Op0)) { in selectShift() local
4575 if (!isIntExtFree(ZExt)) { in selectShift()
4577 if (isValueAvailable(ZExt) && isTypeSupported(ZExt->getSrcTy(), TmpVT)) { in selectShift()
4580 Op0 = ZExt->getOperand(0); in selectShift()
[all …]
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp231 else if (VA.getLocInfo() == CCValAssign::ZExt) in LowerFormalArguments()
324 case CCValAssign::ZExt: in LowerCall()
/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp241 case Instruction::ZExt: in determineLiveOperandBits()
DLoopRotation.cpp259 case Instruction::ZExt: in shouldSpeculateInstrs()
/external/llvm/include/llvm/IR/
DInstruction.def146 HANDLE_CAST_INST(34, ZExt , ZExtInst ) // Zero extend integers
DAttributes.h115 ZExt, ///< Zero extended before/after call enumerator
DOperator.h361 class ZExtOperator : public ConcreteOperator<Operator, Instruction::ZExt> {};
/external/llvm/lib/Analysis/
DCostModel.cpp444 case Instruction::ZExt: in getInstructionCost()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp498 HANDLE_ATTR(ZExt); in printAttributes()
848 case Instruction::ZExt: Out << "Instruction::ZExt"; break; in printConstant()
1399 case Instruction::ZExt: in printInstruction()
1414 case Instruction::ZExt: Out << "ZExtInst"; break; in printInstruction()

1234