Searched refs:Constant (Results 26 - 50 of 539) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h57 } Constant; member in class:llvm::DbgValueLoc
69 Constant.Int = i;
73 Constant.CFP = CFP;
77 Constant.CIP = CIP;
93 int64_t getInt() const { return Constant.Int; }
94 const ConstantFP *getConstantFP() const { return Constant.CFP; }
95 const ConstantInt *getConstantInt() const { return Constant.CIP; }
111 Constant.CIP->dump();
113 Constant.CFP->dump();
143 /// share the same Loc/Constant an
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h23 class Constant;
172 Constant *mapConstant(const Constant &C);
177 void scheduleMapGlobalInitializer(GlobalVariable &GV, Constant &Init,
179 void scheduleMapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix,
181 ArrayRef<Constant *> NewMembers,
184 Constant &Target,
192 /// BasicBlock), or compute and memoize a value for a Constant.
271 /// Version of MapValue with type safety for Constant.
272 inline Constant *MapValu
[all...]
H A DSanitizerStats.h48 std::vector<Constant *> Inits;
H A DModuleUtils.h27 class Constant;
36 Constant *Data = nullptr);
40 Constant *Data = nullptr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1 //===--- CGExprConstant.cpp - Emit LLVM Code from Constant Expressions ----===//
9 // This contains code to emit Constant Expr nodes as LLVM code.
47 CharUnits getAlignment(const llvm::Constant *C) const {
56 CharUnits getSize(const llvm::Constant *C) const {
60 llvm::Constant *getPadding(CharUnits PadSize) const {
67 llvm::Constant *getZeroes(CharUnits ZeroSize) const {
73 /// Incremental builder for an llvm::Constant* holding a struct or array
84 llvm::SmallVector<llvm::Constant*, 32> Elems;
99 static llvm::Constant *buildFrom(CodeGenModule &CGM,
100 ArrayRef<llvm::Constant *> Elem
[all...]
H A DCGVTables.h54 llvm::Constant *PureVirtualFn = nullptr;
57 llvm::Constant *DeletedVirtualFn = nullptr;
60 llvm::Constant *maybeEmitThunk(GlobalDecl GD,
66 llvm::Constant *rtti, unsigned &nextVTableThunkIndex,
73 llvm::Constant *component,
96 const VTableLayout &layout, llvm::Constant *rtti,
H A DCGCUDARuntime.h56 unsigned Constant : 1; // Constant variable.
62 : Kind(K), Extern(E), Constant(C), Normalized(N), SurfTexType(T) {}
66 bool isConstant() const { return Constant; }
81 bool Extern, bool Constant) = 0;
H A DCodeGenModule.h41 class Constant;
253 llvm::Constant *CopyHelper;
254 llvm::Constant *DisposeHelper;
288 Structor(int Priority, llvm::Constant *Initializer,
289 llvm::Constant *AssociatedData)
293 llvm::Constant *Initializer;
294 llvm::Constant *AssociatedData;
361 typedef llvm::StringMap<llvm::TrackingVH<llvm::Constant> > ReplacementsTy;
367 llvm::SmallVector<std::pair<llvm::GlobalValue *, llvm::Constant *>, 8>
415 std::vector<llvm::Constant*> Annotation
[all...]
H A DPatternInit.cpp12 #include "llvm/IR/Constant.h"
15 llvm::Constant *clang::CodeGen::initializationPatternFor(CodeGenModule &CGM,
66 llvm::SmallVector<llvm::Constant *, 8> Element(
79 llvm::SmallVector<llvm::Constant *, 8> Struct(StructTy->getNumElements());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalVariable.h33 class Constant;
54 Constant *Initializer = nullptr, const Twine &Name = "",
60 LinkageTypes Linkage, Constant *Initializer,
135 inline const Constant *getInitializer() const {
137 return static_cast<Constant*>(Op<0>().get());
139 inline Constant *getInitializer() {
141 return static_cast<Constant*>(Op<0>().get());
146 void setInitializer(Constant *InitVal);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.h36 bool isConstantInSmallSection(const DataLayout &DL, const Constant *CN) const;
39 const Constant *C,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h38 bool IsConstantInSmallSection(const DataLayout &DL, const Constant *CN,
42 const Constant *C,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.h34 bool isConstantInSmallSection(const DataLayout &DL, const Constant *CN) const;
37 const Constant *C,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCmpInstAnalysis.h54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineConstantPool.h1 //===- CodeGen/MachineConstantPool.h - Abstract Constant Pool ---*- C++ -*-===//
26 class Constant;
71 const Constant *ConstVal;
80 MachineConstantPoolEntry(const Constant *V, Align A)
92 /// Constant.
139 unsigned getConstantPoolIndex(const Constant *C, Align Alignment);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp15 void fuzzerop::makeConstantsWithType(Type *T, std::vector<Constant *> &Cs) {
33 std::vector<Constant *> fuzzerop::makeConstantsWithType(Type *T) {
34 std::vector<Constant *> Result;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h54 llvm::SmallVector<llvm::Constant*, 4> Indices;
59 llvm::SmallVector<llvm::Constant*, 16> Buffer;
77 llvm::GlobalVariable *createGlobal(llvm::Constant *initializer,
85 ConstantInitFuture createFuture(llvm::Constant *initializer);
88 llvm::Constant *initializer);
108 llvm::SmallVectorImpl<llvm::Constant*> &getBuffer() {
112 const llvm::SmallVectorImpl<llvm::Constant*> &getBuffer() const {
186 void add(llvm::Constant *value) {
208 void addBitCast(llvm::Constant *value, llvm::Type *type) {
213 void addAll(llvm::ArrayRef<llvm::Constant *> value
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h33 Value *Result = Constant::getNullValue(IntIdxTy);
49 if (Constant *OpC = dyn_cast<Constant>(Op)) {
69 Constant *Scale = ConstantInt::get(IntIdxTy, Size);
70 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntIdxTy, true /*SExt*/);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp12 #include "llvm/IR/Constant.h"
44 bool llvm::isSafeToDestroyConstant(const Constant *C) {
52 if (const Constant *CU = dyn_cast<Constant>(U)) {
112 if (Constant *C = dyn_cast<Constant>(StoredVal)) {
173 } else if (const Constant *C = dyn_cast<Constant>(UR)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.h27 class Constant;
142 const Constant *CVal; // Constant being loaded.
145 ARMConstantPoolConstant(const Constant *C,
151 ARMConstantPoolConstant(Type *Ty, const Constant *C,
157 ARMConstantPoolConstant(const GlobalVariable *GV, const Constant *Init);
160 static ARMConstantPoolConstant *Create(const Constant *C, unsigned ID);
164 const Constant *Initializer);
165 static ARMConstantPoolConstant *Create(const Constant *C, unsigned ID,
168 static ARMConstantPoolConstant *Create(const Constant *
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateKernelFeatures.cpp24 #include "llvm/IR/Constant.h"
72 const Constant *EntryC,
73 SmallPtrSet<const Constant *, 8> &ConstantExprVisited, bool IsFunc,
96 static bool isDSAddress(const Constant *C) {
114 const Constant *EntryC,
115 SmallPtrSet<const Constant *, 8> &ConstantExprVisited,
121 SmallVector<const Constant *, 16> Stack;
125 const Constant *C = Stack.pop_back_val();
139 const auto *OpC = dyn_cast<Constant>(U);
280 SmallPtrSet<const Constant *,
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp42 /// Convert the specified vector Constant node to the specified vector type.
45 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) {
47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
48 if (CV->isNullValue()) return Constant::getNullValue(DstTy);
64 if (Constant *Splat = CV->getSplatValue()) {
69 SmallVector<Constant*, 16> Result;
72 Constant *C =
111 static Constant *FoldBitCast(Constant *
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp31 #include "llvm/IR/Constant.h"
64 // Constant Folding internal helper functions
67 static Constant *foldConstVectorToAPInt(APInt &Result, Type *DestTy,
68 Constant *C, Type *SrcEltTy,
75 Constant *Element;
97 /// Constant fold bitcast, symbolically evaluating it with DataLayout.
100 Constant *FoldBitCast(Constant *C, Type *DestTy, const DataLayout &DL) {
106 return Constant::getNullValue(DestTy);
109 return Constant
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DValueList.h23 class Constant;
45 using ResolveConstantsTy = std::vector<std::pair<Constant *, unsigned>>;
98 Constant *getConstantFwdRef(unsigned Idx, Type *Ty);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h208 Constant *getOrCreateSrcLocStr(StringRef LocStr);
211 Constant *getOrCreateDefaultSrcLocStr();
215 Constant *getOrCreateSrcLocStr(StringRef FunctionName, StringRef FileName,
219 Constant *getOrCreateSrcLocStr(const LocationDescription &Loc);
223 Value *getOrCreateIdent(Constant *SrcLocStr,
287 StringMap<Constant *> SrcLocStrMap;
290 DenseMap<std::pair<Constant *, uint64_t>, Value *> IdentMap;
316 StringMap<AssertingVH<Constant>, BumpPtrAllocator> InternalVars;
490 Constant *getOrCreateOMPInternalVariable(Type *Ty, const Twine &Name,

Completed in 201 milliseconds

1234567891011>>