Home
last modified time | relevance | path

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

1234567

/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 …]
DAArch64CallLowering.cpp96 case CCValAssign::SExt: in lowerFormalArguments()
DAArch64TargetTransformInfo.cpp108 case Instruction::SExt: in getIntImmCost()
299 assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) && in getExtractWithExtendCost()
335 case Instruction::SExt: in getExtractWithExtendCost()
/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/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/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/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/Target/Hexagon/
DHexagonBitTracker.h51 enum { SExt, ZExt }; enumerator
DHexagonOptimizeSZextends.cpp80 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
/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/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/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/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/lib/VMCore/
DAttributes.cpp33 if (Attrs & Attribute::SExt) in getAsString()
100 Incompatible |= SExt | ZExt; in typeIncompatible()
/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/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/build/Linux/include/llvm/IR/
DAttributes.gen40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h36 SExt, // The value is sign extended in the location. enumerator
155 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
DFastISel.h108 RetSExt = Call.paramHasAttr(0, Attribute::SExt); in setCallee()
132 RetSExt = Call.paramHasAttr(0, Attribute::SExt);
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DInstructionsTest.cpp129 EXPECT_EQ(CastInst::SExt, CastInst::getCastOpcode(c8, true, V8x64Ty, true)); in TEST()

1234567