reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExprAgg.cpp
  277           cast<llvm::IntrinsicInst>(std::prev(Builder.GetInsertPoint()));
  417       Builder.CreateInBoundsGEP(ArrayPtr.getPointer(), IdxStart, "arraystart");
  426   llvm::Value *Size = Builder.getInt(ArrayType->getSize());
  434         Builder.CreateInBoundsGEP(ArrayPtr.getPointer(), IdxEnd, "arrayend");
  484     Builder.CreateInBoundsGEP(DestPtr.getPointer(), indices, "arrayinit.begin");
  527     cleanupDominator = Builder.CreateStore(begin, endOfInit);
  551       element = Builder.CreateInBoundsGEP(element, one, "arrayinit.element");
  556       if (endOfInit.isValid()) Builder.CreateStore(element, endOfInit);
  580       element = Builder.CreateInBoundsGEP(element, one, "arrayinit.start");
  581       if (endOfInit.isValid()) Builder.CreateStore(element, endOfInit);
  585     llvm::Value *end = Builder.CreateInBoundsGEP(begin,
  589     llvm::BasicBlock *entryBB = Builder.GetInsertBlock();
  595       Builder.CreatePHI(element->getType(), 2, "arrayinit.cur");
  616       Builder.CreateInBoundsGEP(currentElement, one, "arrayinit.next");
  619     if (endOfInit.isValid()) Builder.CreateStore(nextElement, endOfInit);
  622     llvm::Value *done = Builder.CreateICmpEQ(nextElement, end,
  625     Builder.CreateCondBr(done, endBB, bodyBB);
  626     currentElement->addIncoming(nextElement, Builder.GetInsertBlock());
  711       Builder.CreateElementBitCast(Dest.getAddress(), CGF.ConvertType(Ty));
  726         Builder.CreateElementBitCast(SourceLV.getAddress(), CGF.Int8Ty);
  728         Builder.CreateElementBitCast(Dest.getAddress(), CGF.Int8Ty);
  732     Builder.CreateMemCpy(DestAddress, SourceAddress, SizeVal);
  805     Address valueAddr = Builder.CreateStructGEP(atomicSlot.getAddress(), 0);
 1009     Value *Cmp = EmitCompare(Builder, CGF, E, LHSValues.first, RHSValues.first,
 1014     Value *CmpImag = EmitCompare(Builder, CGF, E, LHSValues.second,
 1016     return Builder.CreateAnd(Cmp, CmpImag, "and.eq");
 1019     return Builder.getInt(VInfo->getIntValue());
 1026     Select = Builder.CreateSelect(
 1031         Builder.CreateSelect(EmitCmp(CK_Less), EmitCmpRes(CmpInfo.getLess()),
 1033     Select = Builder.CreateSelect(EmitCmp(CK_Equal),
 1037     Value *SelectEq = Builder.CreateSelect(
 1040     Value *SelectGT = Builder.CreateSelect(EmitCmp(CK_Greater),
 1043     Select = Builder.CreateSelect(
 1651   llvm::Value *begin = Builder.CreateInBoundsGEP(destPtr.getPointer(), indices,
 1666   llvm::BasicBlock *entryBB = Builder.GetInsertBlock();
 1672       Builder.CreatePHI(zero->getType(), 2, "arrayinit.index");
 1674   llvm::Value *element = Builder.CreateInBoundsGEP(begin, index);
 1681       outerBegin = Builder.CreateBitCast(outerBegin, element->getType());
 1713   llvm::Value *nextIndex = Builder.CreateNUWAdd(
 1715   index->addIncoming(nextIndex, Builder.GetInsertBlock());
 1718   llvm::Value *done = Builder.CreateICmpEQ(
 1722   Builder.CreateCondBr(done, endBB, bodyBB);