HomeSort by relevance Sort by last modified time
    Searched refs:Cst (Results 1 - 16 of 16) sorted by null

  /external/llvm/include/llvm/MC/
MCValue.h 45 int64_t Cst;
49 int64_t getConstant() const { return Cst; }
70 R.Cst = Val;
79 R.Cst = Val;
  /external/llvm/lib/Target/AArch64/
AArch64PromoteConstant.cpp 166 bool insertDefinitions(Constant *Cst, InsertionPointsPerFunc &InsPtsPerFunc);
181 /// \return true if Cst has been promoted
182 bool promoteConstant(Constant *Cst);
234 /// Check if the given use (Instruction + OpIdx) of Cst should be converted into
235 /// a load of a global variable initialized with Cst.
239 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr,
294 /// Check if the given Cst should be converted into
295 /// a load of a global variable initialized with Cst.
308 static bool shouldConvert(const Constant *Cst) {
309 if (isa<const UndefValue>(Cst))
    [all...]
AArch64AddressTypePromotion.cpp 321 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) {
324 Cst->getSExtValue()));
AArch64ISelLowering.cpp     [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCodeEmitter.cpp 161 intptr_t Cst = 0;
164 Cst = -(intptr_t)MovePCtoLROffset - 4;
170 Cst, isa<Function>(MO.getGlobal()));
173 RelocID, MO.getSymbolName(), Cst);
176 RelocID, MO.getIndex(), Cst);
184 RelocID, MO.getIndex(), Cst);
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 320 Constant *Cst = Constant::getAllOnesValue(Neg->getType());
323 BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg);
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 475 // Transform trunc(lshr (zext A), Cst) to eliminate one type conversion.
476 Value *A = nullptr; ConstantInt *Cst = nullptr;
478 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) {
487 if (Cst->getZExtValue() >= ASize)
493 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue());
498 // Transform "trunc (and X, cst)" -> "and (trunc X), cst" so long as the dest
502 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) {
505 ConstantExpr::getTrunc(Cst, CI.getType()));
707 // We can promote shl(x, cst) if we can promote x. Since shl overwrites th
    [all...]
InstCombineCompares.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86ISelLowering.cpp     [all...]
X86ISelDAGToDAG.cpp     [all...]
  /external/llvm/lib/Target/R600/
AMDGPUISelDAGToDAG.cpp 593 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) {
594 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, true);
R600ISelLowering.cpp     [all...]
  /external/llvm/lib/CodeGen/
CodeGenPrepare.cpp     [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeIntegerTypes.cpp     [all...]
DAGCombiner.cpp     [all...]

Completed in 372 milliseconds