HomeSort by: relevance | last modified time | path
    Searched defs:Constant (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Constant.h 1 //===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===//
9 // This file contains the declaration of the Constant class.
25 /// of all constant values in an LLVM program. A constant is a value that is
32 /// or expression based (computations yielding a constant value composed of
33 /// only certain operators and other constant values).
40 /// LLVM Constant Representation
41 class Constant : public User {
43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps
    [all...]
ModuleSummaryIndex.h 532 /// A specification for a virtual function call with all constant integer
533 /// arguments. This is used to perform virtual constant propagation on the
550 /// not have all constant integer arguments.
555 /// all constant integer arguments.
713 /// llvm.assume(llvm.type.test) intrinsics that do not have all constant
722 /// llvm.type.checked.load intrinsics that do not have all constant integer
731 /// llvm.assume(llvm.type.test) intrinsics with all constant integer
740 /// llvm.type.checked.load intrinsics with all constant integer arguments.
840 GVarFlags(bool ReadOnly, bool WriteOnly, bool Constant,
843 Constant(Constant), VCallVisibility(Vis) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
COFFImportFile.h 93 bool Constant = false;
StackMapParser.h 91 /// Return the value of this constant.
107 Register = 1, Direct = 2, Indirect = 3, Constant = 4, ConstantIndex = 5
132 /// Get the small-constant for this location. (Kind must be Constant).
134 assert(getKind() == LocationKind::Constant && "Not a small constant.");
138 /// Get the constant-index for this location. (Kind must be ConstantIndex).
141 "Not a constant-index.");
386 /// Return the large constant at the given index.
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMConstantPoolValue.cpp 17 #include "llvm/IR/Constant.h"
121 const Constant *C,
130 ARMConstantPoolConstant::ARMConstantPoolConstant(const Constant *C,
141 const Constant *C)
148 ARMConstantPoolConstant::Create(const Constant *C, unsigned ID) {
155 const Constant *Initializer) {
168 ARMConstantPoolConstant::Create(const Constant *C, unsigned ID,
175 ARMConstantPoolConstant::Create(const Constant *C, unsigned ID,
198 auto *Constant = cast<ARMConstantPoolConstant>(CPV);
199 Constant->GVars.insert(GVars.begin(), GVars.end())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMInstPrinter.cpp 327 case MCExpr::Constant: {
328 // If a symbolic branch target was added as a constant expression then
331 const MCConstantExpr *Constant = cast<MCConstantExpr>(Expr);
333 if (!Constant->evaluateAsAbsolute(TargetAddress)) {
343 // FIXME: Should we always treat this as if it is a constant literal and
1156 // Constant shifts t2_so_reg is a 2-operand unit corresponding to the Thumb2
  /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
AMDGPU.h 36 Constant = 4,
355 return getLangASFromTargetAS(Constant);
360 return static_cast<unsigned>(Constant);
392 // In amdgcn target the null pointer in global, constant, and generic
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DebugLocEntry.h 37 /// A single location or constant within a variable location description, with
52 /// Either a constant,
57 } Constant;
67 DbgValueLocEntry(int64_t i) : EntryKind(E_Integer) { Constant.Int = i; }
69 Constant.CFP = CFP;
72 Constant.CIP = CIP;
85 int64_t getInt() const { return Constant.Int; }
86 const ConstantFP *getConstantFP() const { return Constant.CFP; }
87 const ConstantInt *getConstantInt() const { return Constant.CIP; }
99 Constant.CIP->dump()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
StackMaps.h 259 Constant,
400 /// Emit the constant pool.
ISDOpcodes.h 69 Constant,
146 /// TargetConstant* - Like Constant*, but the DAG does not do any folding,
147 /// simplification, or lowering of the constant. They are used for constants
167 /// TargetIndex - Like a constant pool entry, but with completely
212 /// a Constant, which is required to be operand #1) half of the integer or
346 /// constant integer. A scale of zero is effectively performing
360 /// constant integer.
517 /// VECTOR2 will be inserted. IDX must be a constant multiple of T's known
524 /// vector index constant type, which for most targets will be an integer
533 /// from which a subvector of type T is extracted. IDX must be a constant
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
DWARFDebugFrame.h 58 /// Value is a constant value contained in "Offset":
60 Constant,
131 /// Some opcodes modify a constant value and we need to be able to update
132 /// the constant value (DW_CFA_GNU_window_save which is also known as
  /src/external/mit/isl/dist/doc/
implementation.tex 208 zero and each row variable is assigned the constant term of the row.
210 is assigned a non-negative value, i.e., if the constant terms of
254 In case of parametric problems, the sign of the constant term
255 may depend on the parameters. Each time the constant term of a constraint row
276 with $b(\vec p)$ the constant term, an affine expression in the
297 The sign of the constant term of this new constraint need not be determined
316 any potential solution. The sign of the constant term of a row
391 rounding down the constant term. For example, the constraint
453 that only differ in their (parametric) constant terms.
454 These constant terms will be non-negative on different part
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleSummaryAnalysis.cpp 32 #include "llvm/IR/Constant.h"
140 /// Determine whether this call has all constant integer arguments (excluding
159 /// summary, do so via the non-constant reference arguments.
364 if (!CalledValue || isa<Constant>(CalledValue))
488 static void findFuncPointers(const Constant *I, uint64_t StartingOffset,
501 // Walk through the elements in the constant struct or array and recursively
512 findFuncPointers(cast<Constant>(I->getOperand(Op)),
520 findFuncPointers(cast<Constant>(I->getOperand(i)),
601 bool Constant = V.isConstant();
603 Constant ? false : CanBeInternalized
    [all...]
DependenceAnalysis.cpp 465 // I guess if either is constant, keep it and ignore the other.
1123 // and a is a constant, we can solve it exactly using the Strong SIV test.
1258 // and a is a constant, we can solve it exactly using the
1315 "dynamic cast of negative of ConstCoeff should yield constant");
1465 // and a2 are constant, we can solve it exactly using an algorithm developed
1648 // and a is a constant, we can solve it exactly using the
1758 // and a is a constant, we can solve it exactly using the
2136 // a2 are constant, we attack it with an SIV test. While they can all be
2199 // and a1 and a2 are constant, we can solve it exactly with an easy adaptation
2286 // Given a product, e.g., 10*X*Y, returns the first constant operand
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
MveEmitter.cpp 27 // the ones that take an argument required to be a compile-time constant,
29 // constant nature of the argument is not passed through.
368 // by means of varying a few constant or type parameters.
377 // the same way. And others might differ only in some other kind of constant,
460 // code to use the constant directly in contexts which can take a literal
462 // effort of calling llvm::ConstantInt::get() and then pulling the constant
658 // particular argument should be an integer constant instead of an llvm::Value.
726 // to look up using an Intrinsic::ID constant and an array of types.
789 // be a compile-time constant integer, and what constraints there are on its
1559 // Pass 1: generate code for all the intrinsics as if every type or constant
    [all...]
NeonEmitter.cpp 154 bool Immediate, Constant, Pointer;
163 : Kind(Void), Immediate(false), Constant(false),
169 Constant(false), Pointer(false), ScalarForMangling(false),
190 bool isConstPointer() const { return Constant; }
627 if (Constant)
674 // Constant indices are "int", but have the "constant expression" modifier.
906 Constant = true;
1039 // Extra constant integer to hold type class enum for this function, e.g. s8
1337 // Extra constant integer to hold type class enum for this function, e.g. s
    [all...]
SveEmitter.cpp 68 bool Float, Signed, Immediate, Void, Constant, Pointer, BFloat;
77 Constant(false), Pointer(false), BFloat(false), DefaultType(false),
105 bool isConstant() const { return Constant; }
404 // Constant indices are "int", but have the "constant expression" modifier.
411 if (Constant) S += "C";
455 if (Constant)
525 Constant = true;
713 Constant = true;
719 Constant = true
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
AMDGPUMetadata.h 65 Constant = 2,
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsSEISelDAGToDAG.cpp 337 // When loading from constant pools, load the lower address part in
506 // Select constant vector splats.
510 // * N is a ISD::BUILD_VECTOR representing a constant splat
534 // Select constant vector splats.
572 // Select constant vector splats.
588 // Select constant vector splats.
594 // Select constant vector splats.
600 // Select constant vector splats.
606 // Select constant vector splats.
612 // Select constant vector splats
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
FormatString.h 327 enum HowSpecified { NotSpecified, Constant, Arg, Invalid };
342 : start(nullptr), length(0), hs(Constant), amt(Amount),
360 assert(hs == Constant);
370 assert(hs == Constant);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
PDBTypes.h 238 Constant
303 Constant,
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGDecl.cpp 188 // variable in constant address space in OpenCL.
198 // some variables even if we can constant-evaluate them because
199 // we can't guarantee every translation unit will constant-evaluate them.
234 llvm::Constant *CodeGenModule::getOrCreateStaticVarDecl(
240 if (llvm::Constant *ExistingGV = StaticLocalDeclMap[&D])
259 llvm::Constant *Init = nullptr;
281 llvm::Constant *Addr = GV;
332 llvm::Constant *Init = emitter.tryEmitForInitializer(D);
334 // If constant emission failed, then this should be a C++ static
338 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression")
1258 llvm::Constant *constant = local
1268 llvm::Constant *constant = constWithPadding( local
    [all...]
CGObjC.cpp 42 static llvm::Constant *getNullForVariable(Address addr) {
50 llvm::Constant *C =
101 llvm::Constant *GV = CGM.GetAddrOfConstantCString(Str).getPointer();
134 llvm::Constant *Constant =
136 LValue LV = MakeNaturalAlignAddrLValue(Constant, IdTy);
255 // Note that this implementation allows for non-constant strings to be passed
1045 llvm::Constant *AtomicHelperFn =
1084 llvm::Constant *AtomicHelperFn) {
1114 llvm::Constant *AtomicHelperFn)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
SLPVectorizer.cpp 51 #include "llvm/IR/Constant.h"
221 /// globals/constant expressions).
223 // Constant expressions and globals can't be vectorized like normal integer/FP
226 if (!isa<Constant>(i) || isa<ConstantExpr>(i) || isa<GlobalValue>(i))
910 Constant, ///< Matching constants
993 auto *C1 = dyn_cast<Constant>(V1);
994 auto *C2 = dyn_cast<Constant>(V2);
1038 if (isa<Constant>(V)) {
1040 // walk the users of a subclass of Constant. The users could be in
1227 case ReorderingMode::Constant
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
CFG.cpp 73 /// Returns true on constant values based around a single IntegerLiteral.
97 /// constant expression or EnumConstantDecl from the given Expr. If it fails,
109 /// NumExpr is an integer literal or an enum constant.
118 const Expr *Constant = tryTransformToIntOrEnumConstant(B->getRHS());
120 if (Constant == nullptr) {
132 Constant = tryTransformToIntOrEnumConstant(B->getLHS());
135 return std::make_tuple(MaybeDecl, Op, Constant);
918 /// boolean and a constant other than 0 and 1.
956 /// evaluating to a boolean and a constant other than 0 and 1.
1141 /// A bitwise-or with a non-zero constant always evaluates to true
    [all...]

Completed in 37 milliseconds

1 2