Home
last modified time | relevance | path

Searched refs:ConstantDataArray (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/include/llvm/IR/
DValue.def65 HANDLE_CONSTANT(ConstantDataArray)
DConstants.h681 class ConstantDataArray : public ConstantDataSequential {
683 ConstantDataArray(const ConstantDataArray &) = delete;
686 explicit ConstantDataArray(Type *ty, const char *Data)
/external/llvm/lib/IR/
DConstants.cpp954 return getSequenceIfElementsMatch<ConstantDataArray>(C, V); in getImpl()
2352 void ConstantDataArray::anchor() {} in anchor()
2441 return *Entry = new ConstantDataArray(Ty, Slot.first().data()); in getImpl()
2487 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint8_t> Elts) { in get()
2492 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint16_t> Elts){ in get()
2497 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint32_t> Elts){ in get()
2502 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint64_t> Elts){ in get()
2507 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<float> Elts) { in get()
2512 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<double> Elts) { in get()
2523 Constant *ConstantDataArray::getFP(LLVMContext &Context, in getFP()
[all …]
DIRBuilder.cpp30 Constant *StrConstant = ConstantDataArray::getString(Context, Str); in CreateGlobalString()
DAsmWriter.cpp1212 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) { in WriteConstantInternal()
/external/llvm/lib/LTO/
DLTOModule.cpp259 if (ConstantDataArray *ca = dyn_cast<ConstantDataArray>(cn)) { in objcClassNameFromExpression()
/external/llvm/unittests/IR/
DConstantsTest.cpp402 ASSERT_TRUE(dyn_cast<ConstantDataArray>(CDV) != nullptr) in TEST()
411 ASSERT_TRUE(dyn_cast<ConstantDataArray>(CDV) != nullptr) in TEST()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp224 auto *Data = llvm::ConstantDataArray::getString( in HandleTranslationUnit()
DCodeGenModule.cpp1284 llvm::Constant *s = llvm::ConstantDataArray::getString(getLLVMContext(), Str); in EmitAnnotationString()
2903 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
2905 C = llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantCFString()
3033 llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantString()
3118 return llvm::ConstantDataArray::getString(VMContext, Str, false); in GetConstantArrayFromStringLiteral()
3133 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
3143 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
3237 llvm::ConstantDataArray::getString(getLLVMContext(), StrWithNull, false); in GetAddrOfConstantCString()
DCGExprConstant.cpp855 if (llvm::ConstantDataArray *DataArray = in EmitDesignatedInitUpdater()
856 dyn_cast<llvm::ConstantDataArray>(Base)) in EmitDesignatedInitUpdater()
969 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
DCGObjCMac.cpp2574 llvm::ConstantDataArray::getString(VMContext, BitMap, false), in getBitmapBlockLayout()
4639 llvm::ConstantDataArray::getString(VMContext, RuntimeName), in GetClassName()
4898 llvm::ConstantDataArray::get(CGM.getLLVMContext(), buffer), in buildBitmap()
5001 llvm::ConstantDataArray::getString(VMContext, Sel.getAsString()), in GetMethodVarName()
5023 llvm::ConstantDataArray::getString(VMContext, TypeStr), in GetMethodVarType()
5042 llvm::ConstantDataArray::getString(VMContext, TypeStr), in GetMethodVarType()
5057 llvm::ConstantDataArray::getString(VMContext, Ident->getName()), in GetPropertyName()
DCoverageMappingGen.cpp989 llvm::ConstantDataArray::getString(Ctx, OS.str(), false); in emit()
/external/llvm/examples/BrainF/
DBrainF.cpp133 ConstantDataArray::getString(C, "Error: The head has left the tape.", in header()
/external/llvm/lib/ProfileData/
DInstrProf.cpp149 auto *Value = ConstantDataArray::getString(M.getContext(), FuncName, false); in createPGOFuncNameVar()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp912 llvm::ConstantDataArray::getString(context, toPrint); in generateStringPrint()
955 llvm::ConstantDataArray::getString(context, format); in generateIntegerPrint()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp488 ConstantDataArray::getString(M->getContext(), InstrProfileOutput, true); in emitInitialization()
DSanitizerCoverage.cpp269 ConstantDataArray::getString(M.getContext(), M.getName(), true); in runOnModule()
DAddressSanitizer.cpp789 Constant *StrConst = ConstantDataArray::getString(M.getContext(), Str); in createPrivateGlobalForString()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2644 V = ConstantDataArray::getString(Context, Elts, in parseConstants()
2658 V = ConstantDataArray::get(Context, Elts); in parseConstants()
2664 V = ConstantDataArray::get(Context, Elts); in parseConstants()
2670 V = ConstantDataArray::get(Context, Elts); in parseConstants()
2676 V = ConstantDataArray::get(Context, Elts); in parseConstants()
2682 V = ConstantDataArray::getFP(Context, Elts); in parseConstants()
2688 V = ConstantDataArray::getFP(Context, Elts); in parseConstants()
2694 V = ConstantDataArray::getFP(Context, Elts); in parseConstants()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp826 ConstantDataArray::getString(F->getContext(), F->getName()); in CleanupAndPrepareModules()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp382 Constant *ByteArrayConst = ConstantDataArray::get(M->getContext(), BAB.Bytes); in allocateByteArrays()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c484 ConstantDataArray, enumerator
511 DEFINE_CASE(Val, ConstantDataArray); in llvm_classify_value()
Dllvm.ml271 | ConstantDataArray Constructor
/external/llvm/include/llvm-c/
DCore.h1079 macro(ConstantDataArray) \
/external/llvm/lib/Analysis/
DValueTracking.cpp2917 const ConstantDataArray *Array = in getConstantStringInfo()
2918 dyn_cast<ConstantDataArray>(GV->getInitializer()); in getConstantStringInfo()

12