/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 125 bool shouldConsiderSExt(const Instruction *SExt) const; 213 AArch64AddressTypePromotion::shouldConsiderSExt(const Instruction *SExt) const { in shouldConsiderSExt() 214 if (SExt->getType() != ConsideredSExtType) in shouldConsiderSExt() 217 for (const User *U : SExt->users()) { in shouldConsiderSExt() 259 Instruction *SExt = SExtInsts.pop_back_val(); in propagateSignExtension() local 261 DEBUG(dbgs() << "Consider:\n" << *SExt << '\n'); in propagateSignExtension() 264 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension() 270 while (auto *Inst = dyn_cast<Instruction>(SExt->getOperand(0))) { in propagateSignExtension() 290 User->setOperand(U.getOperandNo(), SExt); in propagateSignExtension() 293 SExt->setOperand(0, Inst->getOperand(0)); in propagateSignExtension() [all …]
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 947 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in DupRetToEnableTailCallOpts() 1689 static Value *promoteOperandForTruncAndSExt(Instruction *SExt, 1701 static Value *promoteOperandForOther(Instruction *SExt, 1708 typedef Value *(*Action)(Instruction *SExt, TypePromotionTransaction &TPT, 1720 static Action getAction(Instruction *SExt, const SetOfInstrs &InsertedTruncs, 1779 Instruction *SExt, const SetOfInstrs &InsertedTruncs, in getAction() argument 1781 Instruction *SExtOpnd = dyn_cast<Instruction>(SExt->getOperand(0)); in getAction() 1782 Type *SExtTy = SExt->getType(); in getAction() 1809 llvm::Instruction *SExt, TypePromotionTransaction &TPT, in promoteOperandForTruncAndSExt() argument 1813 Instruction *SExtOpnd = cast<Instruction>(SExt->getOperand(0)); in promoteOperandForTruncAndSExt() [all …]
|
D | Analysis.cpp | 547 } else if (CallerAttrs.contains(Attribute::SExt)) { in returnTypeIsEligibleForTailCall() 548 if (!CalleeAttrs.contains(Attribute::SExt)) in returnTypeIsEligibleForTailCall() 552 CallerAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall() 553 CalleeAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall()
|
/external/llvm/unittests/IR/ |
D | AttributesTest.cpp | 26 AttributeSet::get(C, 2, Attribute::SExt) in TEST() 39 AttributeSet::get(C, 1, Attribute::SExt) in TEST()
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.h | 30 static const uint64_t SExt = 1ULL<<1; ///< Sign extended member 66 bool isSExt() const { return Flags & SExt; } in isSExt()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonRemoveSZExtArgs.cpp | 60 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
|
D | HexagonISelLowering.cpp | 124 LocInfo = CCValAssign::SExt; in CC_Hexagon_VarArg() 162 LocInfo = CCValAssign::SExt; in CC_Hexagon() 237 LocInfo = CCValAssign::SExt; in RetCC_Hexagon() 484 case CCValAssign::SExt: in LowerCall()
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 35 SExt, // The value is sign extended in the location. enumerator 146 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2061 case Instruction::SExt: in isIntegerCast() 2103 case Instruction::SExt: in isNoopCast() 2382 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create() 2404 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create() 2440 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast() 2448 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast() 2520 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 2534 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 2706 return SExt; // signed -> SEXT in getCastOpcode() 2812 case Instruction::SExt: in castIsValid() [all …]
|
D | Attributes.cpp | 218 if (hasAttribute(Attribute::SExt)) in getAsString() 362 case Attribute::SExt: return 1 << 1; in getAttrMask() 1177 Incompatible.addAttribute(Attribute::SExt) in typeIncompatible()
|
D | ConstantFold.cpp | 516 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction() 669 case Instruction::SExt: in ConstantFoldCastInstruction() 1459 case Instruction::SExt: in evaluateICmpRelation() 1465 if (CE1->getOpcode() == Instruction::SExt) isSigned = true; in evaluateICmpRelation() 1883 if ((CE1->getOpcode() == Instruction::SExt && ICmpInst::isSigned(pred)) || in ConstantFoldCompareInstruction()
|
D | Instruction.cpp | 232 case SExt: return "sext"; in getOpcodeName()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCUtil.cpp | 223 case Instruction::SExt: case Instruction::ZExt: case Instruction::Trunc: in GetInstructionClass()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 196 case Instruction::SExt: in EvaluateInDifferentType() 206 Opc == Instruction::SExt); in EvaluateInDifferentType() 286 if (opc == Instruction::SExt && isa<CmpInst>(V) && Ty->isVectorTy()) in ShouldOptimizeCast() 412 case Instruction::SExt: in CanEvaluateTruncated() 674 case Instruction::SExt: // zext(sext(x)) -> sext(x). in CanEvaluateZExtd() 1003 case Instruction::SExt: // sext(sext(x)) -> sext(x) in CanEvaluateSExtd()
|
D | InstCombineVectorOps.cpp | 631 case Instruction::SExt: in CanEvaluateShuffled() 716 case Instruction::SExt: in BuildNew() 793 case Instruction::SExt: in EvaluateInDifferentElementOrder()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 109 case Instruction::SExt: in createReplacementInstr()
|
/external/llvm/include/llvm/IR/ |
D | Attributes.h | 100 SExt, ///< Sign extended before/after call enumerator
|
D | Instruction.def | 147 HANDLE_CAST_INST(35, SExt , SExtInst ) // Sign extend integers
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 444 case Instruction::SExt: in getInstructionCost()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 224 case Instruction::SExt: in shouldSpeculateInstrs()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 994 if (SExtInst *SExt = dyn_cast<SExtInst>(SI->getOperand(0))) in ConvertDebugDeclareToDebugValue() local 995 ExtendedArg = dyn_cast<Argument>(SExt->getOperand(0)); in ConvertDebugDeclareToDebugValue()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 1260 case CCValAssign::SExt: { in processCallArgs() 1450 if (CS.paramHasAttr(AttrIdx, Attribute::SExt)) in SelectCall() 1593 case CCValAssign::SExt: { in SelectRet() 1800 case Instruction::SExt: in TargetSelectInstruction()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 494 HANDLE_ATTR(SExt); in printAttributes() 846 case Instruction::SExt: Out << "Instruction::SExt"; break; in printConstant() 1397 case Instruction::SExt: in printInstruction() 1412 case Instruction::SExt: Out << "SExtInst"; break; in printInstruction()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 311 LocInfo = CCValAssign::SExt; in AnalyzeArguments() 472 if (VA.getLocInfo() == CCValAssign::SExt) in LowerCCCArguments() 611 case CCValAssign::SExt: in LowerCCCCallTo()
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | msan_basic.ll | 182 ; SExt 183 define void @SExt(i32* nocapture %a, i16* nocapture %b) nounwind uwtable sanitize_memory { 191 ; CHECK: @SExt
|