Home
last modified time | relevance | path

Searched refs:Sext (Results 1 – 12 of 12) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1376 if (In->getType() != Sext.getType()) in transformSExtICmp()
1379 return replaceInstUsesWith(Sext, In); in transformSExtICmp()
1399 return replaceInstUsesWith(Sext, V); in transformSExtICmp()
1430 if (Sext.getType() == In->getType()) in transformSExtICmp()
1431 return replaceInstUsesWith(Sext, In); in transformSExtICmp()
1498 if (Sext.hasOneUse() && isa<TruncInst>(Sext.user_back())) in visitSExt()
1504 Value *Src = Sext.getOperand(0); in visitSExt()
1519 << Sext << '\n'); in visitSExt()
1526 return replaceInstUsesWith(Sext, Res); in visitSExt()
1563 return transformSExtICmp(Cmp, Sext); in visitSExt()
[all …]
H A DInstCombineInternal.h132 Instruction *visitSExt(SExtInst &Sext);
254 Instruction *transformSExtICmp(ICmpInst *Cmp, SExtInst &Sext);
H A DInstCombineAndOrXor.cpp2020 Value *Sext = Builder.CreateSExt(X, Ty); in visitAnd() local
2022 return BinaryOperator::CreateLShr(Sext, ShAmtC); in visitAnd()
3965 Value *Sext = Builder.CreateSExt(NotX, SextTy); in foldNot() local
3966 return CastInst::CreateBitOrPointerCast(Sext, Ty); in foldNot()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DMVELaneInterleavingPass.cpp340 bool Sext = isa<SExtInst>(I); in tryInterleave() local
342 : Sext ? Builder.CreateSExt(Shuffle, I->getType()) in tryInterleave()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIPeepholeSDWA.cpp120 bool Sext; member in __anon39b6f79d0111::SDWASrcOperand
127 SrcSel(SrcSel_), Abs(Abs_), Neg(Neg_), Sext(Sext_) {} in SDWASrcOperand()
135 bool getSext() const { return Sext; } in getSext()
319 assert(!Sext && in getSrcMods()
323 } else if (Sext) { in getSrcMods()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp746 auto *Sext = B.CreateSExt(BO, Instr->getType(), Instr->getName() + ".sext"); in narrowSDivOrSRem() local
751 Instr->replaceAllUsesWith(Sext); in narrowSDivOrSRem()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp77 bool Sext = false; member
80 bool hasIntModifiers() const { return Sext; } in hasIntModifiers()
92 Operand |= Sext ? SISrcMods::SEXT : 0u; in getIntModifiersOperand()
1153 OS << "abs:" << Mods.Abs << " neg: " << Mods.Neg << " sext:" << Mods.Sext; in operator <<()
3183 bool Sext = trySkipId("sext"); in parseRegOrImmWithIntInputMods() local
3184 if (Sext && !skipToken(AsmToken::LParen, "expected left paren after sext")) in parseRegOrImmWithIntInputMods()
3194 return Sext? MatchOperand_ParseFail : Res; in parseRegOrImmWithIntInputMods()
3197 if (Sext && !skipToken(AsmToken::RParen, "expected closing parentheses")) in parseRegOrImmWithIntInputMods()
3201 Mods.Sext = Sext; in parseRegOrImmWithIntInputMods()
/openbsd/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.ml116 | Sext Constructor
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVSymbolicOperands.td1033 defm Sext : FunctionParameterAttributeOperand<1, [Kernel]>;
/openbsd/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo.td1100 // Sext & Zext Patterns
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp13160 Value *Sext = Builder.CreateSExt(Cmp, IntVecTy); in EmitX86BuiltinExpr() local
13161 return Builder.CreateBitCast(Sext, FPVecTy); in EmitX86BuiltinExpr()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp52856 bool Sext = Ext->getOpcode() == ISD::SIGN_EXTEND; in promoteExtBeforeAdd() local
52862 if ((Sext && !NSW) || (!Sext && !NUW)) in promoteExtBeforeAdd()
52888 int64_t AddConstant = Sext ? AddOp1->getSExtValue() : AddOp1->getZExtValue(); in promoteExtBeforeAdd()