/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 127 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/ |
D | AttributesTest.cpp | 25 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/ |
D | LowerExpectIntrinsic.cpp | 120 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/ |
D | AttributesTest.cpp | 26 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/ |
D | X86GenCallingConv.inc | 381 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/ |
D | TruncInstCombine.cpp | 47 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/ |
D | TargetCallingConv.h | 25 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/ |
D | TargetLibraryInfo.h | 307 return Signed ? Attribute::SExt : Attribute::ZExt; 309 return Attribute::SExt; 318 return Signed ? Attribute::SExt : Attribute::ZExt;
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.h | 30 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/ |
D | Attributes.h | 38 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/ |
D | CallLowering.cpp | 68 if (Attrs.hasAttribute(OpIdx, Attribute::SExt)) in setArgFlags() 171 case CCValAssign::SExt: { in extendRegister()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | CallingConvLower.h | 34 SExt, // The value is sign extended in the location. enumerator 127 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 559 } 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/ |
D | Analysis.cpp | 534 } 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/ |
D | WebAssemblyFastISel.cpp | 685 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/ |
D | HexagonBitTracker.h | 51 enum { SExt, ZExt }; enumerator
|
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/ |
D | BlackfinISelLowering.cpp | 198 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/ |
D | SystemZTargetTransformInfo.cpp | 169 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/ |
D | X86GenCallingConv.inc | 126 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/ |
D | WebAssemblyFastISel.cpp | 818 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/ |
D | Attributes.cpp | 33 if (Attrs & Attribute::SExt) in getAsString() 100 Incompatible |= SExt | ZExt; in typeIncompatible()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | Analysis.cpp | 258 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/ |
D | HexagonBitTracker.h | 63 enum { SExt, ZExt }; enumerator
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 397 /*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/ |
D | Attributes.inc | 40 SExt, 97 .Case("signext", Attribute::SExt) 334 return llvm::Attribute::SExt;
|