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

12345

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.h62 enum { SExt, ZExt }; enumerator in enum:llvm::HexagonEvaluator::ExtType::__anon5136
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp126 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) {
127 V = SExt->getOperand(0);
128 Operations.push_back(SExt);
155 case Instruction::SExt:
H A DNaryReassociate.cpp335 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) {
336 IndexToSplit = SExt->getOperand(0);
H A DSpeculativeExecution.cpp227 case Instruction::SExt:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp17 // The only exception is for {ZExt, SExt}Inst with operand type equal to
46 case Instruction::SExt:
106 case Instruction::SExt:
313 case Instruction::SExt: {
326 Opc == Instruction::SExt);
380 // it, because {SExt, ZExt}Inst Instruction might have other users that was
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h361 return Signed ? Attribute::SExt : Attribute::ZExt;
363 return Attribute::SExt;
372 return Signed ? Attribute::SExt : Attribute::ZExt;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp103 if (auto *SExt = dyn_cast<SExtInst>(V)) {
104 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0)))
336 if (auto *SExt = dyn_cast<SExtInst>(V)) {
337 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth)
340 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) {
477 case Instruction::SExt:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp588 } else if (CallerAttrs.contains(Attribute::SExt)) {
589 if (!CalleeAttrs.contains(Attribute::SExt))
593 CallerAttrs.removeAttribute(Attribute::SExt);
594 CalleeAttrs.removeAttribute(Attribute::SExt);
608 CalleeAttrs.removeAttribute(Attribute::SExt);
H A DInterleavedLoadCombinePass.cpp170 SExt, enumerator in enum:__anon4561::Polynomial::BOps
505 pushBOperation(SExt, APInt(sizeof(n) * 8, n));
593 case SExt:
594 OS << "SExt ";
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h37 SExt, // The value is sign extended in the location. enumerator in enum:llvm::CCValAssign::LocInfo
157 return (HTP == AExt || HTP == SExt || HTP == ZExt);
H A DFastISel.h114 RetSExt = Call.hasRetAttr(Attribute::SExt);
138 RetSExt = Call.hasRetAttr(Attribute::SExt);
H A DBasicTTIImpl.h729 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
770 if (Opcode == Instruction::SExt)
1378 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
1442 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp165 case CCValAssign::LocInfo::SExt:
203 if (VA.getLocInfo() == CCValAssign::SExt ||
325 case CCValAssign::SExt: {
390 return CCValAssign::LocInfo::SExt;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp168 case Instruction::SExt:
626 // cost for a Select / ZExt or SExt instruction.
688 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) {
690 // ZExt/SExt will be handled with one unpack per doubling of width.
772 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
780 if (Opcode == Instruction::SExt)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp110 case Instruction::SExt:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp849 if (Attrs.hasParamAttribute(I, Attribute::SExt))
983 const auto *SExt = cast<SExtInst>(I); local
985 const Value *Op = SExt->getOperand(0);
987 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType()));
995 updateValueMap(SExt, Reg);
1338 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt))
1372 case Instruction::SExt:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp85 if (Attrs.hasAttribute(OpIdx, Attribute::SExt))
474 case CCValAssign::SExt: {
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h281 void setSignExt(bool SExt) { argument
283 SignExt = SExt;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp195 case Instruction::SExt:
205 Opc == Instruction::SExt);
424 case Instruction::SExt:
789 Value *SExt = cast<Instruction>(Src)->getOperand(0); local
790 const unsigned SExtSize = SExt->getType()->getPrimitiveSizeInBits();
805 if (SExt->hasOneUse()) {
995 case Instruction::SExt: // zext(sext(x)) -> sext(x).
1243 In = Builder.CreateIntCast(In, CI.getType(), true /*SExt*/);
1300 return CastInst::CreateIntegerCast(In, CI.getType(), true/*SExt*/);
1325 case Instruction::SExt
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2447 case Instruction::SExt:
2489 case Instruction::SExt:
2566 { 8, 0, 1,99,99, 0, 2,99,99,99, 0, 3, 0}, // SExt |
2746 case SExt: return new SExtInst (S, Ty, Name, InsertBefore);
2768 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd);
2804 return Create(Instruction::SExt, S, Ty, Name, InsertBefore);
2812 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd);
2913 (isSigned ? Instruction::SExt : Instruction::ZExt)));
2927 (isSigned ? Instruction::SExt : Instruction::ZExt)));
3108 return SExt; // signe
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp128 case Instruction::SExt:
410 assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) &&
442 llvm_unreachable("Opcode should be either SExt or ZExt");
446 case Instruction::SExt:
892 // operands. We will promote a SExt used in such complex GEP as we
H A DAArch64CallLowering.cpp78 case CCValAssign::LocInfo::SExt:
303 Attribute::SExt))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp270 case Instruction::SExt:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp375 RetAttrs.addAttribute(Attribute::SExt);

Completed in 410 milliseconds

12345