/external/llvm/unittests/IR/ |
D | AttributesTest.cpp | 25 AttributeSet::get(C, 1, Attribute::ZExt), in TEST() 38 AttributeSet::get(C, 2, Attribute::ZExt), in TEST()
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.h | 28 static const uint64_t ZExt = 1ULL<<0; ///< Zero extended member 63 bool isZExt() const { return Flags & ZExt; } in isZExt()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 613 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/ |
D | Analysis.cpp | 549 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/ |
D | BypassSlowDivision.cpp | 132 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv() 135 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 36 ZExt, // The value is zero extended in the location. enumerator 154 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
D | FastISel.h | 105 RetZExt = Call.paramHasAttr(0, Attribute::ZExt); in setCallee() 129 RetZExt = Call.paramHasAttr(0, Attribute::ZExt);
|
D | BasicTTIImpl.h | 214 case Instruction::ZExt: { in getOperationCost() 368 if (Opcode == Instruction::ZExt && in getCastInstrCost() 401 if (Opcode == Instruction::ZExt) in getCastInstrCost()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 192 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()
|
D | InstCombineVectorOps.cpp | 631 case Instruction::ZExt: in CanEvaluateShuffled() 716 case Instruction::ZExt: in BuildNew() 794 case Instruction::ZExt: in EvaluateInDifferentElementOrder()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 168 case Instruction::ZExt: in getIntImmCost()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1988 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 …]
|
D | ConstantFold.cpp | 310 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()
|
D | Attributes.cpp | 261 if (hasAttribute(Attribute::ZExt)) in getAsString() 397 case Attribute::ZExt: return 1 << 0; in getAttrMask() 1296 .addAttribute(Attribute::ZExt); in typeIncompatible()
|
D | Instruction.cpp | 225 case ZExt: return "zext"; in getOpcodeName()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 109 case Instruction::ZExt: in createReplacementInstr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 805 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/ |
D | BPFISelLowering.cpp | 231 else if (VA.getLocInfo() == CCValAssign::ZExt) in LowerFormalArguments() 324 case CCValAssign::ZExt: in LowerCall()
|
/external/llvm/lib/Transforms/Scalar/ |
D | BDCE.cpp | 241 case Instruction::ZExt: in determineLiveOperandBits()
|
D | LoopRotation.cpp | 259 case Instruction::ZExt: in shouldSpeculateInstrs()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.def | 146 HANDLE_CAST_INST(34, ZExt , ZExtInst ) // Zero extend integers
|
D | Attributes.h | 115 ZExt, ///< Zero extended before/after call enumerator
|
D | Operator.h | 361 class ZExtOperator : public ConcreteOperator<Operator, Instruction::ZExt> {};
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 444 case Instruction::ZExt: in getInstructionCost()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 498 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()
|