Lines Matching full:constant

23 #include "llvm/IR/Constant.h"
45 /// behind the scenes to implement cast constant exprs.
48 CastConstantExpr(unsigned Opcode, Constant *C, Type *Ty) in CastConstantExpr()
68 /// behind the scenes to implement binary constant exprs.
71 BinaryConstantExpr(unsigned Opcode, Constant *C1, Constant *C2, in BinaryConstantExpr()
96 /// extractelement constant exprs.
99 ExtractElementConstantExpr(Constant *C1, Constant *C2) in ExtractElementConstantExpr()
123 /// insertelement constant exprs.
126 InsertElementConstantExpr(Constant *C1, Constant *C2, Constant *C3) in InsertElementConstantExpr()
151 /// shufflevector constant exprs.
154 ShuffleVectorConstantExpr(Constant *C1, Constant *C2, ArrayRef<int> Mask) in ShuffleVectorConstantExpr()
169 Constant *ShuffleMaskForBitcode;
186 /// used behind the scenes to implement getelementptr constant exprs.
192 GetElementPtrConstantExpr(Type *SrcElementTy, Constant *C,
193 ArrayRef<Constant *> IdxList, Type *DestTy,
198 Create(Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, in Create()
285 ArrayRef<Constant *> Operands;
287 ConstantAggrKeyType(ArrayRef<Constant *> Operands) : Operands(Operands) {}
289 ConstantAggrKeyType(ArrayRef<Constant *> Operands, const ConstantClass *)
293 SmallVectorImpl<Constant *> &Storage) {
340 InlineAsmKeyType(const InlineAsm *Asm, SmallVectorImpl<Constant *> &)
380 ArrayRef<Constant *> Ops;
405 ConstantExprKeyType(unsigned Opcode, ArrayRef<Constant *> Ops,
414 ConstantExprKeyType(ArrayRef<Constant *> Operands, const ConstantExpr *CE)
422 SmallVectorImpl<Constant *> &Storage)
500 ArrayRef<Constant *> Operands;
502 ConstantPtrAuthKeyType(ArrayRef<Constant *> Operands) : Operands(Operands) {}
504 ConstantPtrAuthKeyType(ArrayRef<Constant *> Operands, const ConstantPtrAuth *)
508 SmallVectorImpl<Constant *> &Storage) {
511 Storage.push_back(cast<Constant>(C->getOperand(I)));
540 // Free memory for a given constant. Assumes the constant has already been
542 void deleteConstant(Constant *C);
566 SmallVector<Constant *, 32> Storage;
621 /// Return the specified constant from the map, creating it if necessary.
639 /// Remove this constant from the map
642 assert(I != Map.end() && "Constant not found in constant table!");
647 ConstantClass *replaceOperandsInPlace(ArrayRef<Constant *> Operands,
649 Constant *To, unsigned NumUpdated = 0,
676 LLVM_DEBUG(dbgs() << "Constant.cpp: ConstantUniqueMap\n");