Searched refs:ConstantDataArray (Results 1 - 25 of 34) sorted by relevance

12

/external/llvm/include/llvm/IR/
H A DConstants.h555 /// This is the common base class of ConstantDataArray and ConstantDataVector.
591 /// ConstantDataArray only works with normal float and int types that are
676 /// ConstantDataArray - An array constant whose element type is a simple
681 class ConstantDataArray : public ConstantDataSequential { class in namespace:llvm
683 ConstantDataArray(const ConstantDataArray &) = delete;
686 explicit ConstantDataArray(Type *ty, const char *Data) function in class:llvm::ConstantDataArray
/external/llvm/lib/IR/
H A DConstants.cpp943 // ConstantDataArray.
954 return getSequenceIfElementsMatch<ConstantDataArray>(C, V);
2352 void ConstantDataArray::anchor() {}
2366 /// ConstantDataArray only works with normal float and int types that are
2441 return *Entry = new ConstantDataArray(Ty, Slot.first().data());
2487 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint8_t> Elts) {
2492 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint16_t> Elts){
2497 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint32_t> Elts){
2502 Constant *ConstantDataArray::get(LLVMContext &Context, ArrayRef<uint64_t> Elts){
2507 Constant *ConstantDataArray
[all...]
H A DIRBuilder.cpp30 Constant *StrConstant = ConstantDataArray::getString(Context, Str);
H A DAsmWriter.cpp1212 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) {
/external/llvm/lib/LTO/
H A DLTOModule.cpp259 if (ConstantDataArray *ca = dyn_cast<ConstantDataArray>(cn)) {
/external/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp224 auto *Data = llvm::ConstantDataArray::getString(
H A DCodeGenModule.cpp1284 llvm::Constant *s = llvm::ConstantDataArray::getString(getLLVMContext(), Str);
2903 C = llvm::ConstantDataArray::get(VMContext, Arr);
2905 C = llvm::ConstantDataArray::getString(VMContext, Entry.first());
3033 llvm::ConstantDataArray::getString(VMContext, Entry.first());
3118 return llvm::ConstantDataArray::getString(VMContext, Str, false);
3133 return llvm::ConstantDataArray::get(VMContext, Elements);
3143 return llvm::ConstantDataArray::get(VMContext, Elements);
3237 llvm::ConstantDataArray::getString(getLLVMContext(), StrWithNull, false);
H A DCGExprConstant.cpp855 if (llvm::ConstantDataArray *DataArray =
856 dyn_cast<llvm::ConstantDataArray>(Base))
969 return llvm::ConstantDataArray::getString(VMContext, Str, false);
H A DCGObjCMac.cpp2574 llvm::ConstantDataArray::getString(VMContext, BitMap, false),
4639 llvm::ConstantDataArray::getString(VMContext, RuntimeName),
4898 llvm::ConstantDataArray::get(CGM.getLLVMContext(), buffer),
5001 llvm::ConstantDataArray::getString(VMContext, Sel.getAsString()),
5023 llvm::ConstantDataArray::getString(VMContext, TypeStr),
5042 llvm::ConstantDataArray::getString(VMContext, TypeStr),
5057 llvm::ConstantDataArray::getString(VMContext, Ident->getName()),
H A DCoverageMappingGen.cpp989 llvm::ConstantDataArray::getString(Ctx, OS.str(), false);
H A DCGObjCGNU.cpp182 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str);
/external/llvm/examples/BrainF/
H A DBrainF.cpp133 ConstantDataArray::getString(C, "Error: The head has left the tape.",
/external/llvm/lib/ProfileData/
H A DInstrProf.cpp149 auto *Value = ConstantDataArray::getString(M.getContext(), FuncName, false);
/external/llvm/unittests/IR/
H A DConstantsTest.cpp402 ASSERT_TRUE(dyn_cast<ConstantDataArray>(CDV) != nullptr)
411 ASSERT_TRUE(dyn_cast<ConstantDataArray>(CDV) != nullptr)
/external/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp488 ConstantDataArray::getString(M->getContext(), InstrProfileOutput, true);
H A DSanitizerCoverage.cpp269 ConstantDataArray::getString(M.getContext(), M.getName(), true);
H A DAddressSanitizer.cpp789 Constant *StrConst = ConstantDataArray::getString(M.getContext(), Str);
/external/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp912 llvm::ConstantDataArray::getString(context, toPrint);
955 llvm::ConstantDataArray::getString(context, format);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2644 V = ConstantDataArray::getString(Context, Elts,
2658 V = ConstantDataArray::get(Context, Elts);
2664 V = ConstantDataArray::get(Context, Elts);
2670 V = ConstantDataArray::get(Context, Elts);
2676 V = ConstantDataArray::get(Context, Elts);
2682 V = ConstantDataArray::getFP(Context, Elts);
2688 V = ConstantDataArray::getFP(Context, Elts);
2694 V = ConstantDataArray::getFP(Context, Elts);
/external/llvm/lib/Transforms/IPO/
H A DLowerBitSets.cpp382 Constant *ByteArrayConst = ConstantDataArray::get(M->getContext(), BAB.Bytes);
/external/llvm/tools/bugpoint/
H A DMiscompilation.cpp826 ConstantDataArray::getString(F->getContext(), F->getName());
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c484 ConstantDataArray, enumerator in enum:ValueKind
511 DEFINE_CASE(Val, ConstantDataArray);
H A Dllvm.ml271 | ConstantDataArray Constructor in type:ValueKind/t
/external/llvm/include/llvm-c/
H A DCore.h1079 macro(ConstantDataArray) \
1494 * @see llvm::ConstantDataArray::getString()
1506 * @see llvm::ConstantDataArray::getString()
/external/llvm/lib/Analysis/
H A DValueTracking.cpp2634 // A ConstantDataArray/Vector is splatable if all its members are equal and
2917 const ConstantDataArray *Array =
2918 dyn_cast<ConstantDataArray>(GV->getInitializer());

Completed in 697 milliseconds

12