Home
last modified time | relevance | path

Searched refs:SExt (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp127 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp25 AttributeList::get(C, 2, Attribute::SExt)}; in TEST()
45 AttributeList::get(C, 1, Attribute::SExt)}; in TEST()
60 B.addAttribute(Attribute::SExt); in TEST()
62 EXPECT_TRUE(AL.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)); in TEST()
164 …nsigned, Attribute> Attrs[] = { { AttributeList::ReturnIndex, Attribute::get(C, Attribute::SExt) }, in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp120 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local
121 V = SExt->getOperand(0); in handlePhiDef()
122 Operations.push_back(SExt); in handlePhiDef()
149 case Instruction::SExt: in handlePhiDef()
/external/llvm/unittests/IR/
DAttributesTest.cpp26 AttributeSet::get(C, 2, Attribute::SExt) in TEST()
48 AttributeSet::get(C, 1, Attribute::SExt) in TEST()
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenCallingConv.inc381 LocInfo = CCValAssign::SExt;
477 LocInfo = CCValAssign::SExt;
487 LocInfo = CCValAssign::SExt;
497 LocInfo = CCValAssign::SExt;
507 LocInfo = CCValAssign::SExt;
517 LocInfo = CCValAssign::SExt;
527 LocInfo = CCValAssign::SExt;
567 LocInfo = CCValAssign::SExt;
626 LocInfo = CCValAssign::SExt;
691 LocInfo = CCValAssign::SExt;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp47 case Instruction::SExt: in getRelevantOperands()
107 case Instruction::SExt: in buildTruncExpressionDag()
314 case Instruction::SExt: { in ReduceExpressionDag()
327 Opc == Instruction::SExt); in ReduceExpressionDag()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetCallingConv.h25 static const uint64_t SExt = 1ULL<<1; ///< Sign extended member
53 bool isSExt() const { return Flags & SExt; } in isSExt()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h307 return Signed ? Attribute::SExt : Attribute::ZExt;
309 return Attribute::SExt;
318 return Signed ? Attribute::SExt : Attribute::ZExt;
/external/llvm/include/llvm/Target/
DTargetCallingConv.h30 static const uint64_t SExt = 1ULL<<1; ///< Sign extended member
73 bool isSExt() const { return Flags & SExt; } in isSExt()
/external/swiftshader/third_party/LLVM/include/llvm/
DAttributes.h38 const Attributes SExt = 1<<1; ///< Sign extended before/after call variable
103 ZExt | SExt,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp68 if (Attrs.hasAttribute(OpIdx, Attribute::SExt)) in setArgFlags()
171 case CCValAssign::SExt: { in extendRegister()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DCallingConvLower.h34 SExt, // The value is sign extended in the location. enumerator
127 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
/external/llvm/lib/CodeGen/
DAnalysis.cpp559 } else if (CallerAttrs.contains(Attribute::SExt)) { in returnTypeIsEligibleForTailCall()
560 if (!CalleeAttrs.contains(Attribute::SExt)) in returnTypeIsEligibleForTailCall()
564 CallerAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall()
565 CalleeAttrs.removeAttribute(Attribute::SExt); in returnTypeIsEligibleForTailCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAnalysis.cpp534 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
535 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
539 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
540 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp685 if (Attrs.hasAttribute(i+1, Attribute::SExt)) in selectCall()
805 const SExtInst *SExt = cast<SExtInst>(I); in selectSExt() local
807 const Value *Op = SExt->getOperand(0); in selectSExt()
809 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
814 updateValueMap(SExt, Reg); in selectSExt()
1138 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet()
1164 case Instruction::SExt: return selectSExt(I); in fastSelectInstruction()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h51 enum { SExt, ZExt }; enumerator
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelLowering.cpp198 if (VA.getLocInfo() == CCValAssign::SExt) in LowerFormalArguments()
259 case CCValAssign::SExt: in LowerReturn()
316 case CCValAssign::SExt: in LowerCall()
401 case CCValAssign::SExt: in LowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp169 case Instruction::SExt: in getIntImmCost()
623 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
708 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost()
713 if (Opcode == Instruction::SExt) in getCastInstrCost()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenCallingConv.inc126 LocInfo = CCValAssign::SExt;
300 LocInfo = CCValAssign::SExt;
360 LocInfo = CCValAssign::SExt;
399 LocInfo = CCValAssign::SExt;
428 LocInfo = CCValAssign::SExt;
490 LocInfo = CCValAssign::SExt;
529 LocInfo = CCValAssign::SExt;
626 LocInfo = CCValAssign::SExt;
674 LocInfo = CCValAssign::SExt;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp818 if (Attrs.hasParamAttribute(i, Attribute::SExt)) in selectCall()
949 const SExtInst *SExt = cast<SExtInst>(I); in selectSExt() local
951 const Value *Op = SExt->getOperand(0); in selectSExt()
953 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
961 updateValueMap(SExt, Reg); in selectSExt()
1311 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet()
1340 case Instruction::SExt: return selectSExt(I); in fastSelectInstruction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp33 if (Attrs & Attribute::SExt) in getAsString()
100 Incompatible |= SExt | ZExt; in typeIncompatible()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DAnalysis.cpp258 if ((CallerRetAttr & Attribute::ZExt) || (CallerRetAttr & Attribute::SExt)) in isInTailCallPosition()
298 if ((CallerRetAttr & Attribute::ZExt) || (CallerRetAttr & Attribute::SExt)) in isInTailCallPosition()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h63 enum { SExt, ZExt }; enumerator
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp397 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), ""); in printStructReturnPointerFunctionType()
409 /*isSigned=*/PAL.paramHasAttr(0, Attribute::SExt), FunctionInnards.str()); in printStructReturnPointerFunctionType()
491 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), ""); in printType()
503 /*isSigned=*/PAL.paramHasAttr(0, Attribute::SExt), FunctionInnards.str()); in printType()
708 case Instruction::SExt: in printCast()
727 case Instruction::SExt: in printCast()
756 case Instruction::SExt: in printConstant()
768 if (CE->getOpcode() == Instruction::SExt && in printConstant()
1142 case Instruction::SExt: in printConstExprCast()
2162 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), in printFunctionSignature()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;

12345678910>>...12