Home
last modified time | relevance | path

Searched refs:CPA (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp216 void printConstantArray(ConstantArray *CPA, bool Static);
560 void CWriter::printConstantArray(ConstantArray *CPA, bool Static) { in printConstantArray() argument
565 Type *ETy = CPA->getType()->getElementType(); in printConstantArray()
566 bool isString = (ETy == Type::getInt8Ty(CPA->getContext()) || in printConstantArray()
567 ETy == Type::getInt8Ty(CPA->getContext())); in printConstantArray()
570 if (isString && (CPA->getNumOperands() == 0 || in printConstantArray()
571 !cast<Constant>(*(CPA->op_end()-1))->isNullValue())) in printConstantArray()
580 for (unsigned i = 0, e = CPA->getNumOperands()-1; i != e; ++i) { in printConstantArray()
581 unsigned char C = cast<ConstantInt>(CPA->getOperand(i))->getZExtValue(); in printConstantArray()
617 if (CPA->getNumOperands()) { in printConstantArray()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp958 } else if (const ConstantArray *CPA = dyn_cast<ConstantArray>(Init)) { in InitializeMemory() local
960 getTargetData()->getTypeAllocSize(CPA->getType()->getElementType()); in InitializeMemory()
961 for (unsigned i = 0, e = CPA->getNumOperands(); i != e; ++i) in InitializeMemory()
962 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp1199 if (const ConstantArray *CPA = dyn_cast<ConstantArray>(Init)) { in InitializeMemory() local
1201 getDataLayout().getTypeAllocSize(CPA->getType()->getElementType()); in InitializeMemory()
1202 for (unsigned i = 0, e = CPA->getNumOperands(); i != e; ++i) in InitializeMemory()
1203 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()