Searched refs:SExt (Results 1 - 25 of 80) sorted by relevance

1234

/external/llvm/lib/Target/AArch64/
H A DAArch64AddressTypePromotion.cpp125 bool shouldConsiderSExt(const Instruction *SExt) const;
213 AArch64AddressTypePromotion::shouldConsiderSExt(const Instruction *SExt) const {
214 if (SExt->getType() != ConsideredSExtType)
217 for (const User *U : SExt->users()) {
259 Instruction *SExt = SExtInsts.pop_back_val(); local
261 DEBUG(dbgs() << "Consider:\n" << *SExt << '\n');
263 // If this SExt has already been merged continue.
264 if (SExt->use_empty() && ToRemove.count(SExt)) {
270 while (auto *Inst = dyn_cast<Instruction>(SExt
422 Instruction *SExt = &II; local
[all...]
H A DAArch64TargetTransformInfo.cpp226 case Instruction::SExt:
/external/llvm/unittests/IR/
H A DAttributesTest.cpp26 AttributeSet::get(C, 2, Attribute::SExt)
39 AttributeSet::get(C, 1, Attribute::SExt)
/external/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp60 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {
H A DHexagonISelLowering.cpp124 LocInfo = CCValAssign::SExt;
162 LocInfo = CCValAssign::SExt;
237 LocInfo = CCValAssign::SExt;
480 // Loc info must be one of Full, SExt, ZExt, or AExt.
484 case CCValAssign::SExt:
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp947 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1682 /// \brief Utility function to promote the operand of \p SExt when this
1686 /// created to promote the operand of SExt.
1688 /// \return The promoted value which is used instead of SExt.
1689 static Value *promoteOperandForTruncAndSExt(Instruction *SExt,
1694 /// \brief Utility function to promote the operand of \p SExt when this
1698 /// created to promote the operand of SExt.
1700 /// \return The promoted value which is used instead of SExt.
1701 static Value *promoteOperandForOther(Instruction *SExt,
1707 /// Type for the utility function that promotes the operand of SExt
1778 getAction( Instruction *SExt, const SetOfInstrs &InsertedTruncs, const TargetLowering &TLI, const InstrToOrigTy &PromotedInsts) argument
1808 promoteOperandForTruncAndSExt( llvm::Instruction *SExt, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInsts) argument
1835 promoteOperandForOther(Instruction *SExt, TypePromotionTransaction &TPT, InstrToOrigTy &PromotedInsts, unsigned &CreatedInsts) argument
2134 Instruction *SExt = cast<Instruction>(AddrInst); local
[all...]
H A DAnalysis.cpp547 } else if (CallerAttrs.contains(Attribute::SExt)) {
548 if (!CalleeAttrs.contains(Attribute::SExt))
552 CallerAttrs.removeAttribute(Attribute::SExt);
553 CalleeAttrs.removeAttribute(Attribute::SExt);
H A DTargetLoweringBase.cpp1283 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1307 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1369 case SExt: return ISD::SIGN_EXTEND;
H A DBasicTargetTransformInfo.cpp416 if (Opcode == Instruction::SExt)
/external/llvm/include/llvm/Target/
H A DTargetCallingConv.h30 static const uint64_t SExt = 1ULL<<1; ///< Sign extended member in struct:llvm::ISD::ArgFlagsTy
66 bool isSExt() const { return Flags & SExt; }
/external/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h35 SExt, // The value is sign extended in the location. enumerator in enum:llvm::CCValAssign::LocInfo
146 return (HTP == AExt || HTP == SExt || HTP == ZExt);
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp109 case Instruction::SExt:
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp223 case Instruction::SExt: case Instruction::ZExt: case Instruction::Trunc:
/external/llvm/include/llvm/IR/
H A DAttributes.h100 SExt, ///< Sign extended before/after call enumerator in enum:llvm::Attribute::AttrKind
/external/llvm/lib/IR/
H A DInstructions.cpp2061 case Instruction::SExt:
2103 case Instruction::SExt:
2200 { 8, 0, 1,99,99, 0, 2,99,99,99, 0, 3, 0}, // SExt |
2382 case SExt: return new SExtInst (S, Ty, Name, InsertBefore);
2404 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd);
2440 return Create(Instruction::SExt, S, Ty, Name, InsertBefore);
2448 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd);
2520 (isSigned ? Instruction::SExt : Instruction::ZExt)));
2534 (isSigned ? Instruction::SExt : Instruction::ZExt)));
2706 return SExt; // signe
[all...]
H A DAttributes.cpp218 if (hasAttribute(Attribute::SExt))
362 case Attribute::SExt: return 1 << 1;
1177 Incompatible.addAttribute(Attribute::SExt)
H A DInstruction.cpp232 case SExt: return "sext";
H A DConstantFold.cpp516 if (opc == Instruction::ZExt || opc == Instruction::SExt ||
669 case Instruction::SExt:
1459 case Instruction::SExt:
1465 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1883 if ((CE1->getOpcode() == Instruction::SExt && ICmpInst::isSigned(pred)) ||
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp196 case Instruction::SExt:
206 Opc == Instruction::SExt);
286 if (opc == Instruction::SExt && isa<CmpInst>(V) && Ty->isVectorTy())
412 case Instruction::SExt:
674 case Instruction::SExt: // zext(sext(x)) -> sext(x).
908 In = Builder->CreateIntCast(In, CI.getType(), true/*SExt*/);
968 return CastInst::CreateIntegerCast(In, CI.getType(), true/*SExt*/);
1003 case Instruction::SExt: // sext(sext(x)) -> sext(x)
H A DInstCombineVectorOps.cpp631 case Instruction::SExt:
716 case Instruction::SExt:
793 case Instruction::SExt:
/external/llvm/lib/Analysis/
H A DCostModel.cpp444 case Instruction::SExt:
/external/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp224 case Instruction::SExt:
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp311 LocInfo = CCValAssign::SExt;
472 if (VA.getLocInfo() == CCValAssign::SExt)
611 case CCValAssign::SExt:
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp494 HANDLE_ATTR(SExt);
846 case Instruction::SExt: Out << "Instruction::SExt"; break;
1397 case Instruction::SExt:
1412 case Instruction::SExt: Out << "SExtInst"; break;
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp1260 case CCValAssign::SExt: {
1450 if (CS.paramHasAttr(AttrIdx, Attribute::SExt))
1593 case CCValAssign::SExt: {
1800 case Instruction::SExt:

Completed in 4081 milliseconds

1234