search for: computearraysize

Displaying 2 results from an estimated 2 matches for "computearraysize".

2013 Oct 29
1
[LLVMdev] Getting TargetData and TargetLibraryInfo for determining Malloc size
Hello; I was trying to use the computeArraySize() function from the MemoryBuiltins.cpp file. It requires two arguments DataLayout *TD and const TargetLibraryInfo *TLI. Can anyone tell me how to get the TargetLibraryInfo? I am getting the DataLayout using: DataLayout *TD; TD = new DataLayout(&M); I hope that's the right way of gettin...
2011 May 06
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
...long>*, unsigned long long)in libLLVMCodeGen.a(Analysis.cpp.o) llvm::ScalarEvolution::getOffsetOfExpr(llvm::StructType const*, unsigned int)in libLLVMAnalysis.a(ScalarEvolution.cpp.o) llvm::FastISel::SelectGetElementPtr(llvm::User const*)in libLLVMSelectionDAG.a(FastISel.cpp.o) computeArraySize(llvm::CallInst const*, llvm::TargetData const*, bool)in libLLVMAnalysis.a(MemoryBuiltins.cpp.o) llvm::AddressingModeMatcher::MatchOperationAddr(llvm::User*, unsigned int, unsigned int)in libLLVMTransformUtils.a(AddrModeMatcher.cpp.o) llvm::ComputeMaskedBits(llvm::Value*, llvm::APInt con...