| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 54 case Instruction::SExt: in getRelevantOperands() 118 case Instruction::SExt: in buildTruncExpressionDag() 324 case Instruction::SExt: { in ReduceExpressionDag() 337 Opc == Instruction::SExt); in ReduceExpressionDag()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 145 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef() local 146 V = SExt->getOperand(0); in handlePhiDef() 147 Operations.push_back(SExt); in handlePhiDef() 174 case Instruction::SExt: in handlePhiDef()
|
| H A D | SpeculativeExecution.cpp | 228 case Instruction::SExt: in ComputeSpeculationCost()
|
| H A D | NaryReassociate.cpp | 359 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex() local 360 IndexToSplit = SExt->getOperand(0); in tryReassociateGEPAtIndex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 104 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() local 105 if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0))) in InsertMuls() 328 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() local 329 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence() 332 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence() 469 case Instruction::SExt: in Search()
|
| H A D | MVELaneInterleavingPass.cpp | 186 case Instruction::SExt: in tryInterleave()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 384 return Signed ? Attribute::SExt : Attribute::ZExt; 386 return Attribute::SExt; 395 return Signed ? Attribute::SExt : Attribute::ZExt;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 578 } else if (CallerAttrs.contains(Attribute::SExt)) { in attributesPermitTailCall() 579 if (!CalleeAttrs.contains(Attribute::SExt)) in attributesPermitTailCall() 583 CallerAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall() 584 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall() 598 CalleeAttrs.removeAttribute(Attribute::SExt); in attributesPermitTailCall()
|
| H A D | InterleavedLoadCombinePass.cpp | 171 SExt, enumerator 506 pushBOperation(SExt, APInt(sizeof(n) * 8, n)); in sextOrTrunc() 594 case SExt: in print()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitTracker.h | 62 enum { SExt, ZExt }; enumerator
|
| H A D | HexagonOptimizeSZextends.cpp | 75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
|
| H A D | HexagonBitTracker.cpp | 82 if (Arg.hasAttribute(Attribute::SExt)) in HexagonEvaluator() 83 VRX.insert(std::make_pair(InVirtReg, ExtType(ExtType::SExt, Width))); in HexagonEvaluator() 1236 if (F->second.Type == ExtType::SExt) in evaluateFormalCopy()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 841 if (Attrs.hasParamAttribute(I, Attribute::SExt)) in selectCall() 1009 const auto *SExt = cast<SExtInst>(I); in selectSExt() local 1011 const Value *Op = SExt->getOperand(0); in selectSExt() 1013 MVT::SimpleValueType To = getLegalType(getSimpleType(SExt->getType())); in selectSExt() 1021 updateValueMap(SExt, Reg); in selectSExt() 1371 if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::SExt)) in selectRet() 1405 case Instruction::SExt: in fastSelectInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 37 SExt, // The value is sign extended in the location. enumerator 157 return (HTP == AExt || HTP == SExt || HTP == ZExt); in isExtInLoc()
|
| H A D | FastISel.h | 113 RetSExt = Call.hasRetAttr(Attribute::SExt); in setCallee() 137 RetSExt = Call.hasRetAttr(Attribute::SExt);
|
| H A D | BasicTTIImpl.h | 922 case Instruction::SExt: 974 if (Opcode == Instruction::SExt) 1761 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost() 1830 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt; in getTypeBasedIntrinsicInstrCost() 2179 IsUnsigned ? Instruction::ZExt : Instruction::SExt, ExtTy, Ty, in getExtendedAddReductionCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 171 case Instruction::SExt: in getIntImmCostInst() 744 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) && in getCastInstrCost() 752 if (Opcode == Instruction::SExt) in getCastInstrCost() 781 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) { in getCastInstrCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 208 case Instruction::SExt: in visitImpl() 212 return I->getOpcode() == Instruction::SExt in visitImpl()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 332 void setSignExt(bool SExt) { in setSignExt() argument 334 SignExt = SExt; in setSignExt()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAdjustOpt.cpp | 286 Inst->getOpcode() == Instruction::SExt) { in avoidSpeculation()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2667 case Instruction::SExt: in isIntegerCast() 2710 case Instruction::SExt: in isNoopCast() 2995 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create() 3031 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast() 3039 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast() 3142 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 3156 (isSigned ? Instruction::SExt : Instruction::ZExt))); in CreateIntegerCast() 3279 return SExt; // signed -> SEXT in getCastOpcode() 3380 case Instruction::SExt: in castIsValid() 3475 ) : CastInst(Ty, SExt, S, Name, InsertBefore) { in SExtInst() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 859 case Instruction::SExt: in computeAddress() 3020 case CCValAssign::SExt: { in processCallArgs() 4594 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() local 4595 if (!isIntExtFree(SExt)) { in selectMul() 4597 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) { in selectMul() 4600 Src0 = SExt->getOperand(0); in selectMul() 4658 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift() local 4659 if (!isIntExtFree(SExt)) { in selectShift() 4661 if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) { in selectShift() 4664 Op0 = SExt->getOperand(0); in selectShift() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 357 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 37 if (AttrFn(Attribute::SExt)) in addFlagsUsingAttrFn() 1096 case CCValAssign::SExt: { in extendRegister() 1122 case CCValAssign::LocInfo::SExt: { in buildExtensionHint()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.def | 186 HANDLE_CAST_INST(40, SExt , SExtInst ) // Sign extend integers
|