Home
last modified time | relevance | path

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

12345678910>>...14

/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()
/external/llvm-project/llvm/unittests/IR/
DAttributesTest.cpp25 AttributeList::get(C, 2, Attribute::SExt)}; in TEST()
50 AttributeList::get(C, 1, Attribute::SExt)}; in TEST()
65 B.addAttribute(Attribute::SExt); in TEST()
67 EXPECT_TRUE(AL.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)); in TEST()
169 …nsigned, Attribute> Attrs[] = { { AttributeList::ReturnIndex, Attribute::get(C, Attribute::SExt) }, in TEST()
/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-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp126 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local
127 V = SExt->getOperand(0); in handlePhiDef()
128 Operations.push_back(SExt); in handlePhiDef()
155 case Instruction::SExt: in handlePhiDef()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenCallingConv.inc388 LocInfo = CCValAssign::SExt;
484 LocInfo = CCValAssign::SExt;
494 LocInfo = CCValAssign::SExt;
504 LocInfo = CCValAssign::SExt;
514 LocInfo = CCValAssign::SExt;
524 LocInfo = CCValAssign::SExt;
534 LocInfo = CCValAssign::SExt;
574 LocInfo = CCValAssign::SExt;
633 LocInfo = CCValAssign::SExt;
698 LocInfo = CCValAssign::SExt;
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp144 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local
145 V = SExt->getOperand(0); in handlePhiDef()
146 Operations.push_back(SExt); in handlePhiDef()
173 case Instruction::SExt: in handlePhiDef()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp46 case Instruction::SExt: in getRelevantOperands()
106 case Instruction::SExt: in buildTruncExpressionDag()
313 case Instruction::SExt: { in ReduceExpressionDag()
326 Opc == Instruction::SExt); in ReduceExpressionDag()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenCallingConv.inc119 LocInfo = CCValAssign::SExt;
321 LocInfo = CCValAssign::SExt;
331 LocInfo = CCValAssign::SExt;
341 LocInfo = CCValAssign::SExt;
351 LocInfo = CCValAssign::SExt;
397 LocInfo = CCValAssign::SExt;
409 LocInfo = CCValAssign::SExt;
561 LocInfo = CCValAssign::SExt;
571 LocInfo = CCValAssign::SExt;
581 LocInfo = CCValAssign::SExt;
[all …]
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp54 case Instruction::SExt: in getRelevantOperands()
118 case Instruction::SExt: in buildTruncExpressionDag()
328 case Instruction::SExt: { in ReduceExpressionDag()
341 Opc == Instruction::SExt); in ReduceExpressionDag()
/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-10.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h361 return Signed ? Attribute::SExt : Attribute::ZExt;
363 return Attribute::SExt;
372 return Signed ? Attribute::SExt : Attribute::ZExt;
/external/llvm-project/llvm/lib/Target/ARM/
DARMParallelDSP.cpp104 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() local
105 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0))) in InsertMuls()
337 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local
338 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
341 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence()
478 case Instruction::SExt: in Search()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetLibraryInfo.h378 return Signed ? Attribute::SExt : Attribute::ZExt;
380 return Attribute::SExt;
389 return Signed ? Attribute::SExt : Attribute::ZExt;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp103 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() local
104 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0))) in InsertMuls()
336 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local
337 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
340 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence()
477 case Instruction::SExt: in Search()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAnalysis.cpp588 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
589 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
593 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
594 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
608 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
/external/llvm-project/llvm/lib/CodeGen/
DAnalysis.cpp590 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall()
591 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall()
595 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
596 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
610 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h51 enum { SExt, ZExt }; enumerator
/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-10.0/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator
/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-project/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp850 if (Attrs.hasParamAttribute(I, Attribute::SExt)) in selectCall()
998 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
1000 const Value *Op = SExt->getOperand(0); in selectSExt()
1002 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
1010 updateValueMap(SExt, Reg); in selectSExt()
1357 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet()
1391 case Instruction::SExt: in fastSelectInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp849 if (Attrs.hasParamAttribute(I, Attribute::SExt)) in selectCall()
983 const auto *SExt = cast<SExtInst>(I); in selectSExt() local
985 const Value *Op = SExt->getOperand(0); in selectSExt()
987 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt()
995 updateValueMap(SExt, Reg); in selectSExt()
1338 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet()
1372 case Instruction::SExt: in fastSelectInstruction()
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen40 SExt,
97 .Case("signext", Attribute::SExt)
334 return llvm::Attribute::SExt;

12345678910>>...14