HomeSort by relevance Sort by last modified time
    Searched defs:Cst (Results 1 - 25 of 39) sorted by null

1 2

  /external/llvm/include/llvm/MC/
MCValue.h 42 int64_t Cst;
46 int64_t getConstant() const { return Cst; }
66 R.Cst = Val;
75 R.Cst = Val;
  /external/swiftshader/third_party/LLVM/include/llvm/MC/
MCValue.h 39 int64_t Cst;
42 int64_t getConstant() const { return Cst; }
59 R.Cst = Val;
67 R.Cst = Val;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
MCValue.h 42 int64_t Cst = 0;
47 int64_t getConstant() const { return Cst; }
67 R.Cst = Val;
76 R.Cst = Val;
  /external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
PPCCodeEmitter.cpp 153 intptr_t Cst = 0;
156 Cst = -(intptr_t)MovePCtoLROffset - 4;
162 Cst, isa<Function>(MO.getGlobal()));
165 RelocID, MO.getSymbolName(), Cst);
168 RelocID, MO.getIndex(), Cst);
176 RelocID, MO.getIndex(), Cst);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
MipsISelLowering.h 467 SDValue Cst = DAG.getConstant(16, DL, MVT::i32);
468 SDValue Shift = DAG.getNode(ISD::SHL, DL, Ty, HigherPart, Cst);
471 SDValue Shift2 = DAG.getNode(ISD::SHL, DL, Ty, Add, Cst);
  /external/llvm/lib/Target/AArch64/
AArch64PromoteConstant.cpp 245 /// Check if the given use (Instruction + OpIdx) of Cst should be converted into
246 /// a load of a global variable initialized with Cst.
250 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr,
302 /// Check if the given Cst should be converted into
303 /// a load of a global variable initialized with Cst.
316 static bool shouldConvertImpl(const Constant *Cst) {
317 if (isa<const UndefValue>(Cst))
322 // E.g., when the type of Cst require more instructions than the
324 // instances of Cst.
327 if (Cst->isZeroValue()
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
Reassociate.cpp 214 Constant *Cst = Constant::getAllOnesValue(Neg->getType());
216 Instruction *Res = BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
AArch64PromoteConstant.cpp 253 /// Check if the given use (Instruction + OpIdx) of Cst should be converted into
254 /// a load of a global variable initialized with Cst.
258 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr,
310 /// Check if the given Cst should be converted into
311 /// a load of a global variable initialized with Cst.
324 static bool shouldConvertImpl(const Constant *Cst) {
325 if (isa<const UndefValue>(Cst))
330 // E.g., when the type of Cst require more instructions than the
332 // instances of Cst.
335 if (Cst->isZeroValue()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/GlobalISel/
PatternMatchTest.cpp 138 int64_t Cst;
139 bool match = mi_match(MIBCst->getOperand(0).getReg(), MRI, m_ICst(Cst));
141 ASSERT_EQ(Cst, 42);
191 // Try to match MUL(Cst, Reg) on src of MUL(Reg, Cst) to validate
193 int64_t Cst;
195 m_GMul(m_ICst(Cst), m_Reg(Src0)));
197 ASSERT_EQ(Cst, 42);
203 m_GSub(m_ICst(Cst), m_Reg(Src0)));
210 m_GFMul(m_ICst(Cst), m_Reg(Src0)))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
LegalizerHelper.cpp 528 const APInt &Cst = MI.getOperand(1).getCImm()->getValue();
535 ConstantInt::get(Ctx, Cst.lshr(NarrowSize * i).trunc(NarrowSize));
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineCasts.cpp 465 // Transform trunc(lshr (zext A), Cst) to eliminate one type conversion.
466 Value *A = 0; ConstantInt *Cst = 0;
468 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) {
477 if (Cst->getZExtValue() >= ASize)
483 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue());
488 // Transform "trunc (and X, cst)" -> "and (trunc X), cst" so long as the dest
492 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) {
495 ConstantExpr::getTrunc(Cst, CI.getType()));
704 // We can promote lshr(x, cst) if we can promote x. This requires th
    [all...]
InstCombineCompares.cpp     [all...]
  /external/llvm/lib/Target/AMDGPU/
R600ISelLowering.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 258 TheAnd.setOperand(1, CI); // Reduce bits set in and cst.
    [all...]
InstCombineCasts.cpp 522 // Transform trunc(lshr (zext A), Cst) to eliminate one type conversion.
523 Value *A = nullptr; ConstantInt *Cst = nullptr;
525 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) {
534 if (Cst->getZExtValue() >= ASize)
540 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue());
545 // Transform trunc(lshr (sext A), Cst) to ashr A, Cst to eliminate type
551 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst))) &&
558 if (Cst->getValue().ult(ASize)) {
559 Value *Shift = Builder->CreateAShr(A, Cst->getZExtValue())
    [all...]
InstCombineCompares.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/X86/
X86ISelDAGToDAG.cpp 748 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N))
749 if (!FoldOffsetIntoAddress(Cst->getSExtValue(), AM))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
SimplifyCFG.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
R600ISelLowering.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 720 // Transform trunc(lshr (zext A), Cst) to eliminate one type conversion.
721 Value *A = nullptr; ConstantInt *Cst = nullptr;
723 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) {
732 if (Cst->getZExtValue() >= ASize)
738 Value *Shift = Builder.CreateLShr(A, Cst->getZExtValue());
744 // Transform trunc(lshr (sext A), Cst) to ashr A, Cst to eliminate type
750 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst)))) {
756 unsigned ShiftAmt = Cst->getZExtValue();
786 // Transform "trunc (shl X, cst)" -> "shl (trunc X), cst" so long as th
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonISelLowering.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
LegalizeIntegerTypes.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 273 if (auto *Cst = dyn_cast<ConstantSDNode>(Op))
274 return Match(Cst);
281 auto *Cst = dyn_cast<ConstantSDNode>(Op.getOperand(i));
282 if (!Cst || Cst->getValueType(0) != SVT || !Match(Cst))
    [all...]

Completed in 1053 milliseconds

1 2